Jump to content

Certain Image not loading with URL Rewriting


Recommended Posts

Hello,

 

I have been building my first prestashop store and have uploaded my website to my Centos 6.5 server, with no dramas at all. I have friendly url running correctly and everything seems to display except for one image. I have tried a few solutions to fix it with no luck..

 

 The image in question is the paypal payment icon image which displays correctly on the front page, but when clicking any pages with friendly urls the image promptly turns it self to a ? mark image.

 

Front page pulls from this directory

 

http://www.mywebsite.com/themes/leoconv/img/default/icon-payment.png

 

Random CMS page will pull from this directory

 

http://www.mywebsite.com/en/content/themes/leoconv/img/default/icon-payment.png

 

I have given these 755 permission hoping it would fix the problem, and had no luck.

 

#chmod -R 0755 themes/leoconv
#chmod -R 0755 themes/leoconv/img/default
#chmod -R 0755 themes/leoconv/lang
#chmod -R 0755 themes/leoconv/cache
#chmod -R 0755 cache/smarty/compile
 
*Directives*
 
<Directory "/var/www/html/mywebsite.com">
allow from all
Options +Indexes FollowSymLinks
AllowOverride All
</Directory>
 
I have also tried deleting and regenerating the .htcaccess file, all images and recompiling the cache.
 
If i turn off friendly urls the image displays correctly, other than that 98% of my site is displaying correctly except for this one image in my bottom footer which is Advanced footer module.
 
Any ideas? 
 
Edited by bodyslimtea (see edit history)
Link to comment
Share on other sites

without url to fo it's difficult

 

have your cleared your browser cache?

 

After some more trouble shooting i decided to check the footer module and looked at it's html and updated the path as it also was previewing as a ? mark. I uploaded the payment icon to my cms image storage folder and directed the image to the new folder location. Working perfectly now... B)

 

The module was Lof Advanced Footer 

Edited by bodyslimtea (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...