Jump to content

[solved]Picture not showing properly in FO but i can see the thumbnails in BO


neylz

Recommended Posts

Hello,

 

I have an issue concerning the images... Everything came after an attempt of regenerating the thumbnails...

 

I uploaded everything manually so i can see that i clearly uploaded the picture in the BO and that they were working.

 

After the thumbnail regenerating attempt, only some of the picture are shown properly in the FO, most of them doesn't work or show something like that (cf picture enclosed)

 

 

the website in question is : www.w2beauty.com/w2beauty

 

I've set permission to the img folder in cPanel/filemanager to 777, renamed the image sizes group to small, medium, large, thickbox etc ... and tried regenerating again and again..

 

if you have any idea about what's going on, please help me out ... I can't even upload new pictures for the products, it doesn't show anymore.. so i can't just erase and go all over again..

 

Please help !

 

PS : more precision, please see enclosed pictures of the back office and front office

 

 

 

 

 

 

 

 

Solved : Host provider restored the database ..

Edited by neylz (see edit history)
Link to comment
Share on other sites

Hello, thank for replying Vekia !

 

I've made the change you mentionned about having the same name and indeed it fixed some of the pictures

 

but only in the featured product page ... most of the other pictures still don't show properly :(

Edited by neylz (see edit history)
Link to comment
Share on other sites

Hi,

 

please help me it's urgent

 

I've a similar problem. my prestashop don't show my images uploaded by .CSV files by FTP filezilla

 

I've two prestashop platform : a test platform (permission file 700) and a webstore platform ( all permission file are in 777).

but i've tried change permission but it's still no work

 

So, i've always uploaded my images correctly with csv files without problems.

 

But since 2 month, in my webstore my images don't show. i try one items, two, ten..etc...while in my test platform works

 

First, in the both platform my preference images are without small_default and large_default, same Advanced Parameters separator_breadcrumb.png Performance disable cache, same clear files in directory smarty/ cache and complile; both platform are setted as :

memory_limit now set to 128mb

max_execution_time = 30

max_input_time = 30

 

The image upload is white with question mark and this is the wrong link associated by Prestashop :

 

http://sexyshopmoncheri.com/img/p/1/8/5/9/1859-small.jpg

 

 

while when it worked the correct link was (this happened for both platform) :

 

http://sexyshopmoncheri.com/img/p/1036-1379-small.jpg

 

 

 

If i upload manually it's works. I've tried somes solutions in this forum but it don't works

 

I post my .htaccess files so you can see some error if you find

 

# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution

# WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE

# http://www.prestashop.com - http://www.prestashop.com/forums

 

<IfModule mod_rewrite.c>

# URL rewriting module activation

RewriteEngine on

# URL rewriting rules

RewriteRule ^api/?(.*)$ /webservice/dispatcher.php?url=$1 [QSA,L]

RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2$3.jpg [L]

RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L]

RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$1$2.jpg [L]

RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$1$2$3.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]

RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]

RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]

RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /img/c/$1.jpg [L]

RewriteRule ^([a-z]{2})/[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$2&isolang=$1&noredirect=1 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$2&isolang=$1 [QSA,L]

RewriteRule ^([a-z]{2})/content/([0-9]+)\-[a-zA-Z0-9-]* /cms.php?isolang=$1&id_cms=$2 [QSA,L]

RewriteRule ^([a-z]{2})/content/category/([0-9]+)\-[a-zA-Z0-9-]* /cms.php?isolang=$1&id_cms_category=$2 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)__[a-zA-Z0-9-]* /supplier.php?isolang=$1&id_supplier=$2 [QSA,L]

RewriteRule ^([a-z]{2})/([0-9]+)_[a-zA-Z0-9-]* /manufacturer.php?isolang=$1&id_manufacturer=$2 [QSA,L]

RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]

RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$1&noredirect=1 [QSA,L]

RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]

RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]

RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L]

RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]

RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]

RewriteRule ^en/page-not-found$ /404.php?isolang=en [QSA,L]

RewriteRule ^en/address$ /address.php?isolang=en [QSA,L]

RewriteRule ^en/addresses$ /addresses.php?isolang=en [QSA,L]

RewriteRule ^en/authentication$ /authentication.php?isolang=en [QSA,L]

RewriteRule ^en/best-sales$ /best-sales.php?isolang=en [QSA,L]

RewriteRule ^en/cart$ /cart.php?isolang=en [QSA,L]

RewriteRule ^en/contact-us$ /contact-form.php?isolang=en [QSA,L]

RewriteRule ^en/discount$ /discount.php?isolang=en [QSA,L]

RewriteRule ^en/guest-tracking$ /guest-tracking.php?isolang=en [QSA,L]

RewriteRule ^en/order-history$ /history.php?isolang=en [QSA,L]

RewriteRule ^en/identity$ /identity.php?isolang=en [QSA,L]

RewriteRule ^en/manufacturers$ /manufacturer.php?isolang=en [QSA,L]

RewriteRule ^en/my-account$ /my-account.php?isolang=en [QSA,L]

RewriteRule ^en/new-products$ /new-products.php?isolang=en [QSA,L]

RewriteRule ^en/order$ /order.php?isolang=en [QSA,L]

RewriteRule ^en/order-follow$ /order-follow.php?isolang=en [QSA,L]

RewriteRule ^en/quick-order$ /order-opc.php?isolang=en [QSA,L]

RewriteRule ^en/order-slip$ /order-slip.php?isolang=en [QSA,L]

RewriteRule ^en/password-recovery$ /password.php?isolang=en [QSA,L]

RewriteRule ^en/prices-drop$ /prices-drop.php?isolang=en [QSA,L]

RewriteRule ^en/search$ /search.php?isolang=en [QSA,L]

RewriteRule ^en/sitemap$ /sitemap.php?isolang=en [QSA,L]

RewriteRule ^en/stores$ /stores.php?isolang=en [QSA,L]

RewriteRule ^en/supplier$ /supplier.php?isolang=en [QSA,L]

RewriteRule ^en$ /en/ [QSA,L]

RewriteRule ^en/([^?&]*)$ /$1?isolang=en [QSA,L]

RewriteRule ^it/page-not-found$ /404.php?isolang=it [QSA,L]

RewriteRule ^it/address$ /address.php?isolang=it [QSA,L]

RewriteRule ^it/addresses$ /addresses.php?isolang=it [QSA,L]

RewriteRule ^it/authentication$ /authentication.php?isolang=it [QSA,L]

RewriteRule ^it/best-sales$ /best-sales.php?isolang=it [QSA,L]

RewriteRule ^it/cart$ /cart.php?isolang=it [QSA,L]

RewriteRule ^it/contact-us$ /contact-form.php?isolang=it [QSA,L]

RewriteRule ^it/discount$ /discount.php?isolang=it [QSA,L]

RewriteRule ^it/guest-tracking$ /guest-tracking.php?isolang=it [QSA,L]

RewriteRule ^it/order-history$ /history.php?isolang=it [QSA,L]

RewriteRule ^it/identity$ /identity.php?isolang=it [QSA,L]

RewriteRule ^it/manufacturers$ /manufacturer.php?isolang=it [QSA,L]

RewriteRule ^it/my-account$ /my-account.php?isolang=it [QSA,L]

RewriteRule ^it/new-products$ /new-products.php?isolang=it [QSA,L]

RewriteRule ^it/order$ /order.php?isolang=it [QSA,L]

RewriteRule ^it/order-follow$ /order-follow.php?isolang=it [QSA,L]

RewriteRule ^it/quick-order$ /order-opc.php?isolang=it [QSA,L]

RewriteRule ^it/order-slip$ /order-slip.php?isolang=it [QSA,L]

RewriteRule ^it/password-recovery$ /password.php?isolang=it [QSA,L]

RewriteRule ^it/prices-drop$ /prices-drop.php?isolang=it [QSA,L]

RewriteRule ^it/search$ /search.php?isolang=it [QSA,L]

RewriteRule ^it/sitemap$ /sitemap.php?isolang=it [QSA,L]

RewriteRule ^it/stores$ /stores.php?isolang=it [QSA,L]

RewriteRule ^it/supplier$ /supplier.php?isolang=it [QSA,L]

RewriteRule ^it$ /it/ [QSA,L]

RewriteRule ^it/([^?&]*)$ /$1?isolang=it [QSA,L]

</IfModule>

# Catch 404 errors

ErrorDocument 404 /404.php

<IfModule mod_expires.c>

ExpiresActive On

ExpiresByType image/gif "access plus 1 month"

ExpiresByType image/jpeg "access plus 1 month"

ExpiresByType image/png "access plus 1 month"

ExpiresByType text/css "access plus 1 week"

ExpiresByType text/javascript "access plus 1 week"

ExpiresByType application/javascript "access plus 1 week"

ExpiresByType application/x-javascript "access plus 1 week"

ExpiresByType image/x-icon "access plus 1 year"

</IfModule>

FileETag INode MTime Size

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

</IfModule>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...