Find Jobs
Hire Freelancers

Dynamically create an image array

$30-250 AUD

Sürüyor
İlan edilme: 11 yıldan fazla önce

$30-250 AUD

Teslimde ödenir
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.
Proje No: 2556723

Proje hakkında

7 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 12 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
i can do this .check your PMB.
$40 AUD 1 gün içinde
4,7 (9 değerlendirme)
3,3
3,3
7 freelancer bu proje için ortalama $105 AUD teklif veriyor
Kullanıcı Avatarı
Please review PMB for further details.
$150 AUD 4 gün içinde
4,9 (47 değerlendirme)
5,8
5,8
Kullanıcı Avatarı
hi i can do this..please check PM
$120 AUD 0 gün içinde
4,8 (2 değerlendirme)
1,6
1,6
Kullanıcı Avatarı
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 5 gün içinde
5,0 (1 değerlendirme)
1,4
1,4
Kullanıcı Avatarı
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 1 gün içinde
5,0 (1 değerlendirme)
1,2
1,2
Kullanıcı Avatarı
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 1 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   AUSTRALIA bayrağı
Sydney, Australia
5,0
15
Ödeme yöntemi onaylandı
Nis 16, 2012 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.