Shape 5

Joomla Club Extensions => Photo Expression - Club => : bbcorner January 26, 2015, 02:13:58 AM



: Base URL vs development URL
: bbcorner 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


: Re: Base URL vs development URL
: jonahh 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:


:
$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;
}