Forum Support

 
Advanced Search


[1]

Offline bbcorner
Free Member
Posts: 12
Posted on: January 26, 2015, 02:13:58 AM

Hi,

I am developing under http://www.sitename.co.za/site.

The modules references I.E .css and .js are referencing the base URL correct, but the images are not including my development directory (/site)

http://XXXXXX.co.za/site/modules/mod_s5_photo_expression/s5_photo_expression/scroll.js
http://XXXXXX.co.za/modules/mod_s5_photo_expression/s5_images_photo_expression/thumbnail1.jpg

Please advise...

Wayne
Logged

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: January 27, 2015, 01:39:04 PM

Hello,

If you open up the mod_s5_photo_expression.php file you can see why this is happening and you can insert your sub directory in this code:


Code:
$s5_vm_qc_files_thumb = glob("modules/s5_images_photo_expression/thumbnail*");
for ($s5_vm_qc_i_thumb=0; $s5_vm_qc_i_thumb<count($s5_vm_qc_files_thumb); $s5_vm_qc_i_thumb++)
{
$s5_vm_qc_file_thumb = $s5_vm_qc_files_thumb[$s5_vm_qc_i_thumb];
$smallurl_image[$s5_vm_qc_i_thumb + 1] = $s5_vm_qc_file_thumb;
}
$s5_vm_qc_files_large = glob("modules/s5_images_photo_expression/large*");
for ($s5_vm_qc_i_large=0; $s5_vm_qc_i_large<count($s5_vm_qc_files_large); $s5_vm_qc_i_large++)
{
$s5_vm_qc_file_large = $s5_vm_qc_files_large[$s5_vm_qc_i_large];
$largeurl_image[$s5_vm_qc_i_large + 1] = $s5_vm_qc_file_large;
}
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.016 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.