Jump to content

product image upload issue


Recommended Posts

okay........ I uploaded a bunch of product images. It was fine until at one point, newer images don't show up anymore. I checked img/p/ to be sure it's 777. it seems fine and I see new images in there. Why are they showing numbers instead? :wacko: What should i do to fix this. Sorry I'm still new with Prestashop.

 

 

screenshot20130112at344.png

 

screenshot20130112at358.png

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

Okay I think i figured it out. The image is still reading this.....

 

mysite.com/img/p/7/3/small_default.jpg

 

It's still using small_default there. I removed all "_default" in image section and I think that's what it's causing. I put them back and they seem to be working. :wacko: I guess I leave that alone for now.

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

  • 2 months later...

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 Posted Image 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://sexyshopmonch.../1859-small.jpg

 

 

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

 

http://sexyshopmonch...-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

 

 

# 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]

 

# Catch 404 errors

ErrorDocument 404 /404.php

 

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"

 

FileETag INode MTime Size

 

AddOutputFilterByType DEFLATE text/html

AddOutputFilterByType DEFLATE text/css

AddOutputFilterByType DEFLATE text/javascript

AddOutputFilterByType DEFLATE application/javascript

AddOutputFilterByType DEFLATE application/x-javascript

Link to comment
Share on other sites

×
×
  • Create New...