Find Jobs
Hire Freelancers

Dynamically create an image array

$30-250 AUD

Em Andamento
Publicado há mais de 11 anos

$30-250 AUD

Pago na entrega
Hi, I need done a dynamic image list for a jquery slideshow using php. This is in a template in joomla 2.5 I am designing that is not on the root of the website. The code below will show what I mean. <?php if ($this->params->get( 'bgimage' )) { $bgdir = $this->baseurl'/images/bgimages/'; //this needs to be an absolute directory from the root of the website $bgimages = glob(“” . $bgdir . “{*.jpg,*.png}”, GLOB_BRACE); //check directory for file types $last_item = end($bgimages); $last_item = each($bgimages); foreach($bgimages as $bgimage){ //begin foreach loop echo "'"$bgimage"',"; //echos the backgrounds if($value == $last_item['value'] && $key == $last_item['key']){ //if last item echo "'"$bgimage"'"; //echos the last background } } }else{ ?> '<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/[login to view URL]', '<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/[login to view URL]' <?php } ?> As you can see I have made a parameter for the entire thing which is not the problem. The problem is the variables and the for each loop. I know these are wrong thats what I need fixed. It needs to check if the folder website-root/images/bgimages exists and if so check if it has .jpg and .png and arrange them in alphabetical order. Then the last image needs to be different, it cant have a comma at the end. I would like this done asap as I have a deadline to meet. Thanks.
ID do Projeto: 2556723

Sobre o projeto

7 propostas
Projeto remoto
Ativo há 12 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
i can do this .check your PMB.
$40 AUD em 1 dia
4,7 (9 avaliações)
3,3
3,3
7 freelancers estão ofertando em média $105 AUD for esse trabalho
Avatar do Usuário
Please review PMB for further details.
$150 AUD em 4 dias
4,9 (47 avaliações)
5,8
5,8
Avatar do Usuário
hi i can do this..please check PM
$120 AUD em 0 dia
4,8 (2 avaliações)
1,6
1,6
Avatar do Usuário
Toolkit Solutions today boasts of maintaining and working with a large database of desirable programmers. If you hired Toolkit Solutions today, you can be assured that at least someone professional will be looking at your current needs. Buy professional programming services from us and we turn our business to your needs.
$125 AUD em 5 dias
5,0 (1 avaliação)
1,4
1,4
Avatar do Usuário
Hello Respected Client, I have Read your requirements and we are very experience in this concept. please check Message Board for more details. Thanks
$100 AUD em 1 dia
5,0 (1 avaliação)
1,2
1,2
Avatar do Usuário
Respected Client, This is not even a problem. I can start working on it from this same instant and can provide you results. I am also ready for an interview, if you like. Wiating for your consideration. Regards.
$100 AUD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) AUSTRALIA
Sydney, Australia
5,0
15
Método de pagamento verificado
Membro desde abr. 16, 2012

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.