Jump to content

[Solved] Images Disappear In 1.5.3


ftlrs

Recommended Posts

Hey All, I downloaded PrestaShop 1.5.3.1, no customization done. When I installed my template, no images were showing.

 

Problem:

 

No images showing in products. So I found another discussion saying that one shouldchenge the name in preferences-images to short_mynewtemplate, medium_mynewtemplate etc.

 

So basicly some of them came back, but in thickbox_... category_... and m_scene... I cant add the name of my new template. I simply get the message: The field name is too long (16 chars max).

 

I use prestashop 1.5.3.1 and my theme is Tendance Mode whish should be ok and compatible with 1.5.3.

 

I am a copletly beginning, so I hope there is a solution that won´t require too much.

 

Thanks a lot for helping!

 

Bernie :)

Link to comment
Share on other sites

Hmm.. I dont remember precisly where I found it. But it did help - meaning when you click on a product the picture is shown. Just not in the catalogue.

 

I think that might be because I didnt manage to change all of the names yet (too many char.).

 

I paied for the theme. Downloaded it. then uploaded it to my host. Then it showed in the "themes" in the backend.

 

I chose that theme, and lookslike it works ok, exempt the images are gone.

 

Will be happy to send you login info.

 

Thanks so far! :)

Link to comment
Share on other sites

I see the images in the featured producs on the frontpage. and also once I click on the product. But not when I just look theough the catalogue.

 

Couldn´t it be something with the couple of lines I didnt manage to change them name of? (to the name of my new template).

Link to comment
Share on other sites

Hi

 

im not sure, but probably it is a template issue.

 

For example, you havent got pictures in homefeatured, so - can you check the: \modules\homefeatured\homefeatured.tpl and if exists: themes\YOUR_THEME\modules\homefeatured\homefeatured.tpl file ?

 

you are looking for something like:

 

<a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='homefeatured'}</span>{/if}</a>

 

what have you got in (bold underlined text):

 

<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />

 

compare this value with: preferences -> images

7SwiNi7.png

 

value of bolded text in example code and name field in your preferences -> images must be the same, otherwise pictures will not appear

Link to comment
Share on other sites

in my opinion it isn't css issue, as Benjamin said, try to open homefeatured.tpl file in text editor (like notepad in windows)

and try to find line:

<a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='homefeatured'}</span>{/if}</a>

 

and compare 'home_default' (or something else ) with preferences-> images in your BO

 

if your shop is online, you can provide an url, we will check front-office for issues

Link to comment
Share on other sites

Thanks guys!

 

Here is the link ....

 

As you see I only get qustionmarks.. but when Clicking on the item, you do see the images.

 

I´ll wait for your respons before trying the a bow, as I would need some help for that.

 

I can send my login details, if that helps.

 

Really appreciate your effort!

 

:)

Bernie

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

Thanks guys!

 

Here is the link ...

 

As you see I only get qustionmarks.. but when Clicking on the item, you do see the images.

 

I´ll wait for your respons before trying the a bow, as I would need some help for that.

 

I can send my login details, if that helps.

 

Really appreciate your effort!

 

:)

Bernie

 

ahh i checked your website

 

you have got almost all pictures - only images on product listing dont apear

 

it's yeasy to debug i think :)

 

if you want we can do it for you, of course for free - but you must create an employee account in your shop with granted permissions to preferecences section of your BO

Link to comment
Share on other sites

Thas great news!!!

 

I will try to do that right away.

 

BTW. I think the reason why so many pictures are showing is a consequense of me changeing the _defalght to _mytheme as I describes in the first post.

 

Maybe you can take a look at that too if you are there anyway. There are still some that I didnt managed to change because of "too many char."

Link to comment
Share on other sites

Thanks a lot!

 

Just to be sure I understand: There was actually a "type of images" missing? The product list desappeared some how?

 

And my adding that, it is solved.

 

Should I changed back the _tendance to _default that I cheched earlyer?

 

:) THANKS GUYS!

Link to comment
Share on other sites

  • 2 weeks later...

i've regenerated my thumbnails but it gives me 2 erros

 

  • Original image is missing or empty (/home/cebamesa/public_html/tienda/img/p/1/8/8/2/1882.jpg)
  • Original image is missing or empty (/home/cebamesa/public_html/tienda/img/p/1/9/7/9/1979.jpg)

 

btw as i told you, i do not have the prodlist_default on my image preferences.

 

if you wish, i can give you my admin account to see what's going on.

 

Thanks again vekia
Link to comment
Share on other sites

after thumbnail regeneration doesnt it work for you?

 

Original image is missing or empty (/home/cebamesa/public_html/tienda/img/p/1/8/8/2/1882.jpg)

Original image is missing or empty (/home/cebamesa/public_html/tienda/img/p/1/9/7/9/1979.jpg)

this error said that pictures doesnt exists, can you check product (id)1882 and (id)1979 in your products tab in back office

 

does any image appear for this product there?

Link to comment
Share on other sites

  • 1 month later...

Hi Bernie, are you familiar with FTP, you can then access root/themes\YOUR_THEME\modules\homefeatured\homefeatured.tpl

Hello,

I have exactly the same problem as described here and I see all pics but not the category pictures and the small ones that are under the big product picture in the product page. I checked the line that you described here:

root/themes\YOUR_THEME\modules\homefeatured\homefeatured.tpl

I have only home and not home default. I`m already afraid to touch whatever because if I do something another thing bugs and just don`t know what to do. I have Prestashop 1.5.4

Please help me!

Link to comment
Share on other sites

  • 2 weeks later...

Hi there

 

I'm having some problems with product images. I accidentally clicked on "regenerate images" and now all the product images are missing. I have selected regenerate all products and still have some missing. Do I still keep going with the process? Would the images all appear?

 

Thank you

Link to comment
Share on other sites

Hello,

I`ll explain step by step how it worked for me:

1. go to BO-Preferences-Images (you will see a table of image names and their sizes: example: large_default 100px 100 px)

2. now for all images with names ''........_default'' - you have to create the same images with the same size as you see now in the table but without ''_default''. DO NOT DELETE YOUR CURRENT IMAGES. JUST ADD THE NEW ONES.

so

for EXAMPLE large_default with size 100px 100px

now you must have: large with size 264px 436px

Please review my attached file how it looks in my BO but your sizes might be different- keep your sizes.

Doc1.doc

Link to comment
Share on other sites

  • 2 months later...

I am having same problem like this exactly the same error after I regenerated product thumbnails. I got the same error and afterwords all the product images gone from my BO. Please help how can bring back my pictures.

Link to comment
Share on other sites

Hello,

try to keep the existing names and create the new names as well.

 

Thanks babyboombg, for your reply. Actually, all my images on the website are very distorted and not at all good quality so I actually just figured out how to re-size according to the template image dimensions. So I will have to re-size the entire images which I am doing and deleting the previous images already in the product list.

 

Photoshop re-sizing reduces the quality of the pictures so right now trying Gimp I hope this works well.

 

Can you suggest how I can upload good quality pictures.

 

My website is www.folkvilla.com

Link to comment
Share on other sites

Hi, my pictures are preliminary ready with Photoshop. Their size is 800 px at the longer side and that`s it. Just upload them on the BO

 

oh ok the template designer said that the source pictures should be 430 x 600 and the thick box has to be 600 x 600 px all my sizes are of different sizes so I am adding canvas size now they do not strech or get distorted .......but the quality is not good at all all piks seems sort of faded so in large default can I do 800 x 800 px to get the good quality pics even I am using photoshop for editing my images.

 

I am not very good in technical part but learning each step of the way

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

  • 5 months later...

after thumbnail regeneration doesnt it work for you?

 

Original image is missing or empty (/home/cebamesa/public_html/tienda/img/p/1/8/8/2/1882.jpg)

Original image is missing or empty (/home/cebamesa/public_html/tienda/img/p/1/9/7/9/1979.jpg)

this error said that pictures doesnt exists, can you check product (id)1882 and (id)1979 in your products tab in back office

 

does any image appear for this product there?

 

Hello Vekia,

I got this problem after upgrade form 1.5.4.1 to 1.5.6.1

No images for all products and after regeneration only error message:  

Original image is missing or empty (/home/gdb/root/e-shop/img/p/5/0/50.jpg)

 

Images are in /img/p/ directory named as:

50-238.jpg

50-238-home_default.jpg

50-238-large_default.jpg

 

Some chance to get them automaticaly into correct folder, or need to load all images manually again?

 

Thanks,

Lubos

Link to comment
Share on other sites

Hi,

just found a solution for me, maybe will be usefull for someone...

 

1) Move images (Preferences separator_breadcrumb.png Images); I probably switch to new file system in my previous PS...

2) Regenerate thumbnails (no error found  :o )

3) Legacy image filesystem -> NO

 

Save, refresh, works. 

 

 

Thanks.

Lubos

  • Like 1
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...