Jump to content
Ronaldo Perez

[SOLVED] [HOW TO] Don't show product images after upgrade to 1.5.5

Recommended Posts

UPD: as I see many people have the same trouble,so I should update my post with simplest solution:

Guys, simple way, just edit your config/settings.inc.php file and set shop creation date "in the past" earlier than 2013-03-26, like:

define('_PS_CREATION_DATE_', '2011-09-11');

It works)

 

old:

My English not so good, but maybe someone will face a similar problem. I did manual shop upgrade for one of my clients from ver. 1.4.x to 1.5.5 (latest)

 

After upgrade - shop did not show product images (with default template and created _default suffixes) and I see error "original images missed".

Client shop used default images settings before  - all product images in one folder. Ok, now we understand problem - Prestashop refused from old image storage system and use only now "legacy = no" (and maybe have some bugs with define right settings for your shop)

 

Solution:

edit controllers/admin/AdminImagesController.php

find 

// No need to display the old image system if the install has been made later than 2013-03-26
		$this->display_move = (!Configuration::get('PS_LEGACY_IMAGES') && defined('_PS_CREATION_DATE_') && strtotime(_PS_CREATION_DATE_) > strtotime('2013-03-26')) ? false : true;

replace to

		$this->display_move =  true;

then goto Preferences -> Images and click Move Images

When it will be done - change code as before or leave it.

Edited by SergeyH (see edit history)
  • Like 8

Share this post


Link to post
Share on other sites

My English not so good, but maybe someone will face a similar problem. I did manual shop upgrade for one of my clients from ver. 1.4.x to 1.5.5 (latest)

 

After upgrade - shop did not show product images (with default template and created _default suffixes) and I see error "original images missed".

Client shop used default images settings before  - all product images in one folder. Ok, now we understand problem - Prestashop refused from old image storage system and use only now "legacy = no" (and maybe have some bugs with define right settings for your shop)

 

Solution:

edit controllers/admin/AdminImagesController.php

find 

// No need to display the old image system if the install has been made later than 2013-03-26
		$this->display_move = (!Configuration::get('PS_LEGACY_IMAGES') && defined('_PS_CREATION_DATE_') && strtotime(_PS_CREATION_DATE_) > strtotime('2013-03-26')) ? false : true;

replace to

		$this->display_move =  true;

then goto Preferences -> Images and click Move Images

When it will be done - change code as before or leave it.

 

 

Hi Sergey, can you please add your suggestion to Github? Our development team will take a look. Here is the link for the concerning file, https://github.com/PrestaShop/PrestaShop/blob/development/controllers/admin/AdminImagesController.php

 

You can register if you are not already, click "edit", make the changes and click "Propose file change"

 

Let me know if you have any questions. Thank you!

  • Like 1

Share this post


Link to post
Share on other sites

SergeyH you just save the day... salute!!

 :) glad to help 

 

but exist easysist solution - just change shop creation date in settings.inc.php, e.g. on 2011 year :)

Share this post


Link to post
Share on other sites

Unfortunately, not for every one :(

 

Luckily I backed up all my stuff before I upgraded so I an just go back to 1.5.4.1 - and I won't be trying another upgrade until this is no longer an issue.

 

I know Prestashop is free, open source, whavever you want to call it, but fixes like this are work arounds - the core problem still exits because the 'program' (if I can call it that) causes an issue that this fix does not solve universally. Perhaps this is something that the Prestashop team can look at fixing/correcting in their next update. I am sure that I am not the only one that is still having an issue and these quick fixes do not work for.

Edited by daveharkaa (see edit history)
  • Like 2

Share this post


Link to post
Share on other sites

I did both suggested changes ie changing the creation date to 2012, and changed the code in image controller file to

    $this->display_move = true

 

Yet I still have the question mark in place of product image. 

 

Any idea how I should proceed from here?

Share this post


Link to post
Share on other sites

I found a solution using a mix of these responses and it does work..

 

Yes edit config > settings.inc.php  to  creation date in the past I used 2010 to really make sure.

 

Now instead of doing the other things go to your administration

 

Go to your preferences > Images page and scroll to the bottom where now a new option box is available since editing config file called "Move images".

 

This allows you to import your old stock images so select "Move images" and confirm OK

 

when done:

 

Just above Move images is Regenerate thumbnails,  now select to Regenerate "All" thumbnails

 

Your product images now should be back.  We upgraded from 1.4.8 to 1.5.5 so its a big leap and working.

  • Like 2

Share this post


Link to post
Share on other sites

I found a solution using a mix of these responses and it does work..

 

Yes edit config > settings.inc.php  to  creation date in the past I used 2010 to really make sure.

 

Now instead of doing the other things go to your administration

 

Go to your preferences > Images page and scroll to the bottom where now a new option box is available since editing config file called "Move images".

 

This allows you to import your old stock images so select "Move images" and confirm OK

 

when done:

 

Just above Move images is Regenerate thumbnails,  now select to Regenerate "All" thumbnails

 

Your product images now should be back.  We upgraded from 1.4.8 to 1.5.5 so its a big leap and working.

This is the best solution. Thanks

Share this post


Link to post
Share on other sites

Not working for me! During regenerate thumbnails, I`m allways getting this error:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST

Reason: Error reading from remote server

 

 

Version 1.5.6 is great, but without images is for two things...

Share this post


Link to post
Share on other sites

Therer is also another way, just export products from 1.4.11 with image links, than create new csv to import into 1.5.6, each file must included max 1000 prodcuts. After this import, just refresh images and its working...

Share this post


Link to post
Share on other sites

What so you have to import all the csv data too?!

 

Come on thats not the way to do it.

 

If the original method does not work for you then you should really be looking at how "1-click-upgrade" is coming along as an official prestashop modules..

 

Since version 2.2.4 (and I've tested LOTS)  the image move feature becomes available without file modifications. So all you need to do is download the latest "1-click-upgrade" and select to update to the "Major channel" update to 1.5.6.

 

After your install is updated follow the same advice as before just this time the "Move images" option is already there to use"

Share this post


Link to post
Share on other sites

Hi Guys,

 

I've got a similar problem with showing of images. I made import of database from 1.3 platform to recent one, copied all images in p folder.

Thanks to Sergey I've set legacy setting to previous form. But my obstacle that I am currently hitting is path of images.

It still remains the same - new format p/x/y/image.jpeg .

 

Then I made test and created new product with its images. When I checked that image path has been generated correctly and images are showing fine.

 

Does any of you have some clue what I am doing wrong? I checked almost everything - settings, DB, forum threads. Clueless and desperate right now.

 

 

Will appreciate every help

 

Cheers

Share this post


Link to post
Share on other sites

I solved my problem by myself, cause it was more complicated.

 

I had to transfer pictures from very old version into newer one, so I have made application where it will take your pictures in whatever structure to correct one with structured folders and it works perfectly.

 

If somebody will encounter same problem to put pictures in right format, feel free to send me pm and I can help you out to avoid suffering what I had.

Edited by Belph (see edit history)

Share this post


Link to post
Share on other sites

I just upgraded to 1.5.6.1, read through this post as I also have no images showing, and on regenration it says the original files are missing, however instead of modifying anything.

I decided to go to the images preferences and turned the legacy system option back to having "yes" selected.

I then regenerated my thumbnails and it works, I guess that during the upgrade the image system preference changes automatically and makes the image regenerator look for the images in the wrong place.

 

Eventhough this is marked solved, I thought I would throw it out there in case it saves someones day ;)

Share this post


Link to post
Share on other sites

I just upgraded to 1.5.6.1, read through this post as I also have no images showing, and on regenration it says the original files are missing, however instead of modifying anything.

 

I decided to go to the images preferences and turned the legacy system option back to having "yes" selected.

I then regenerated my thumbnails and it works, I guess that during the upgrade the image system preference changes automatically and makes the image regenerator look for the images in the wrong place.

 

Eventhough this is marked solved, I thought I would throw it out there in case it saves someones day ;)

 

Thank you for this. You are correct in your troubleshooting. If you were using the legacy system before the upgrade then you need to switch it back to legacy in order to regenerate (sometimes). PrestaShop does automatically transfer the images to the new filesystem so in order to regenerate it you would need to switch back to legacy.

Share this post


Link to post
Share on other sites

I just upgraded to 1.5.6.1 from 1.5.6.0 Some of the pictures are missing from my website and question mark is appeared. There us no legacy system or move images available. Lat time it was there I think when I upgraded to 1.5.6.0 but now it is missing. I still regenerated the images but still images are missing. What should I do ????

 

Ofcourse I pressed control + F5 but images are still missing

Edited by Tanu (see edit history)

Share this post


Link to post
Share on other sites

Hi all, 

I have problem with my shop, there are no product showed in my web.
Just like question tag.
I have tried all of advise from related post of my problem but it didn't finish my problem.
Help me please.. :(  :( 


this is my online shop www.serbaklik.com 

( sorry my english is not good  :)  :)  )

Share this post


Link to post
Share on other sites

Hello

 

Yesterday I updated my prestashop to 1.5.6.1 and I had the same problem Did whatever is advised on this thread plus cleared cashe of my system nothing happened. Still question mark just like your website.

 

So I had to role back to my previous version. So you do the same too role back to your previous version. All your images would return to your website. I guess there is a known issue with this version or something.

 

Don't worry about your language. It is easily understood. :):D

Share this post


Link to post
Share on other sites

Hello all - Im a small business owner with only modest coding experience. Bear with me.

My web developer upgraded our website from a 1.4X version of Prestashop to the current 1.5.6.1

version. Some of the images look as they should after the upgrade - others are simply replaced

by the server with a "?" question mark. What is even more annoying, if I try and manually create a 

new item from scratch, one at a time, the images still wont show up live on the website, but they WILL

shop up in the admin panel when looking at the products. I have tried all of the suggestions in this

Topic list myself - all but 1 was able to be tested. The one that wouldnt work was the "Move Images"

option. Yes, I made the change to 'True' so that this option could be seen - but I get an error message

that says: Error: Some -- or all -- images can not be moved. and I get this error message just with 2 seconds

after I start the process. 

 

Any suggestions? It takes a week or more for our web developers in India to reply.

Share this post


Link to post
Share on other sites

Hello

 

There is a problem with this upgrade. Please contact Presta Shop email them they will revert. I also did everything mentioned in Forums but had to role back to previous version as my problem was not sorting out.

 

I advise you to role back to your previous version or contact Presta Shop development team.

Share this post


Link to post
Share on other sites

Hello

 

Yesterday I updated my prestashop to 1.5.6.1 and I had the same problem Did whatever is advised on this thread plus cleared cashe of my system nothing happened. Still question mark just like your website.

 

So I had to role back to my previous version. So you do the same too role back to your previous version. All your images would return to your website. I guess there is a known issue with this version or something.

 

Don't worry about your language. It is easily understood. :):D

Thank you,  :) 

now my product image showed,

 

i just add syntax

 

"define('_PS_BASE_URI_', '/root_folder/');"  

 

on setting.inc.php,

 

but i have a other problem. My product show in home page is not same with setting BO.

I set product showed 16 but just 8 showed. 

  • Like 1

Share this post


Link to post
Share on other sites

thats good Wow I have roled back now otherwise I would have done exactly the same :unsure: Anyway, can't help you with other problem too :( sorry no idea

Share this post


Link to post
Share on other sites

Hello SerbaKlik ~

I tried what you did - but it didnt solve my problem. Perhaps I didnt out the correct base folder name.

I think it is

\public_html\

 

I also tried both the letter "i" and the letter "L" for the URX where X is the unknown in your suggestion (red font below)

 

"define('_PS_BASE_URI_', '/root_folder/');"  

Share this post


Link to post
Share on other sites

thats good Wow I have roled back now otherwise I would have done exactly the same :unsure: Anyway, can't help you with other problem too :( sorry no idea

No problem Tanu, 

greetings  :)

Share this post


Link to post
Share on other sites

Hello SerbaKlik ~

I tried what you did - but it didnt solve my problem. Perhaps I didnt out the correct base folder name.

I think it is

\public_html\

 

I also tried both the letter "i" and the letter "L" for the URX where X is the unknown in your suggestion (red font below)

 

"define('_PS_BASE_URI_', '/root_folder/');"  

Hello fadedsuede,

did you try to move image and regenerate image from BO ?

about the syntax i means "define('_PS_BASE_URL_', '/root_folder/');" 

 

/root_folder/  is name of the folder where you put the content of your web.

Share this post


Link to post
Share on other sites

Hi All,

 

I have the same problem. I move images and when I try to regenerate thumbnails I have this error

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache Server at 4fevi.com Port 80
Can sombody help me please.
Thanks

Share this post


Link to post
Share on other sites

Code names means

 

small_default to small and so on?

I did this already and did not work for me.

Share this post


Link to post
Share on other sites

Dear all.

 

   I upgraded from  PrestaShop1.5.3.1 to  PrestaShop1.5.6.2 but images on product list are not displaying. I tried every method mention in the post but it didnt help.

 

If I regenrate images it display message:

 

3 errors

 

Original image is missing or empty (/home/sitename/public_html/jai/img/p/3/8/9/389.jpg) for product ID 290

Original image is missing or empty (/home/sitename/public_html/jai/img/p/4/4/6/446.jpg) for product ID 356

Original image is corrupt (/home/sitename/public_html/jai/img/p/6/7/1/671.jpg) for product ID 491 or bad permission on folder.

 

I tried by changing presmission to 755, 777 but that didnt work

 

This issue wasted 4 days without any result. Any help would be really great.

Jarnail

Edited by jarnail (see edit history)

Share this post


Link to post
Share on other sites

When you open up those pictures via FTP, do they correctly show?

 

If it is only those three pictures, I would delete the current picture and replace them again to see if it works. That may actually do the trick.

Share this post


Link to post
Share on other sites

Thank you for this. You are correct in your troubleshooting. If you were using the legacy system before the upgrade then you need to switch it back to legacy in order to regenerate (sometimes). PrestaShop does automatically transfer the images to the new filesystem so in order to regenerate it you would need to switch back to legacy.

Hi Benjamin,

 

I upgraded from 1.4.6.2 to 1.5.6.2 and I tried all the solutions above without making  any progress. As you recommend I selected the legacy system but then when I regenerate the images and I get the same error with the new path:

 

Original image is missing or empty (/home/XXX/img/p/1/6/7/167.jpg) for product ID 169

..... total of 709 errors

 

I also tried to move the images using the Preferences>>Images tool but the process only takes about 2 seconds before I get the message "The selected images have successfully been moved." The time is too short and the actual new directories are not created.

 

All of the above makes me think that none of the actions that I called on Preference>>Images are actually not performed. Besides the error above I am not getting any other error messages (I have display_errors ON)

I am stock here, I don't know what to do next. Any pointers will be appreciated.

 

 

Edited by pietro (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

I rolled back the upgrade. Reinstalled PS 1.5.6.2 and still encountering the same issues.

 

Images wont show even in the legacy system. When I regenerate the thumbnails I get the following error for 709 images. 

 

Original image is missing or empty (/home/XXX/img/p/1/6/7/167.jpg) for product ID 169

 

I re-uploaded the entire img folder from my backup, thinking that the directory was damaged during the upgrade but nothing changes.

 

Thanks for reading,

  • Like 1

Share this post


Link to post
Share on other sites

I was able to solve the issue by rollingback one more time, move the images in the old PS version, then upgrade and then regenerate the images. I don't know why I couldn't do it the other way around. Man that was frustrating.

Share this post


Link to post
Share on other sites

I found a solution using a mix of these responses and it does work..

 

Yes edit config > settings.inc.php  to  creation date in the past I used 2010 to really make sure.

 

Now instead of doing the other things go to your administration

 

Go to your preferences > Images page and scroll to the bottom where now a new option box is available since editing config file called "Move images".

 

This allows you to import your old stock images so select "Move images" and confirm OK

 

when done:

 

Just above Move images is Regenerate thumbnails,  now select to Regenerate "All" thumbnails

 

Your product images now should be back.  We upgraded from 1.4.8 to 1.5.5 so its a big leap and working.

 

This technique isn't working for me as we just upgraded to 1.5.6.2 and the backup that I have is old there are some mySql syntax errors that is keeping me from importing it.

  • Like 1

Share this post


Link to post
Share on other sites

Hi Benjamin,

 

I upgraded from 1.4.6.2 to 1.5.6.2 and I tried all the solutions above without making  any progress. As you recommend I selected the legacy system but then when I regenerate the images and I get the same error with the new path:

 

Original image is missing or empty (/home/XXX/img/p/1/6/7/167.jpg) for product ID 169

..... total of 709 errors

 

I also tried to move the images using the Preferences>>Images tool but the process only takes about 2 seconds before I get the message "The selected images have successfully been moved." The time is too short and the actual new directories are not created.

 

All of the above makes me think that none of the actions that I called on Preference>>Images are actually not performed. Besides the error above I am not getting any other error messages (I have display_errors ON)

I am stock here, I don't know what to do next. Any pointers will be appreciated.

 

 

 

Pietro, did you ever get this fixed?

Share this post


Link to post
Share on other sites

Pietro, did you ever get this fixed?

 

He did say he got it solved. This is what he did 

 

 

I was able to solve the issue by rollingback one more time, move the images in the old PS version, then upgrade and then regenerate the images. I don't know why I couldn't do it the other way around. Man that was frustrating.

 

Have you tried that way?

Share this post


Link to post
Share on other sites

why prestashop did system like this??

im totally frustrated on this..

ill try everything - not success..

any helps please???


4836 errors 

  1. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/0/630.jpg) for product ID 630
  2. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/1/631.jpg) for product ID 631
  3. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/2/632.jpg) for product ID 632
  4. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/3/633.jpg) for product ID 633
  5. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/4/634.jpg) for product ID 634
  6. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/5/635.jpg) for product ID 635
  7. Original image is missing or empty (/home/loverfra/public_html/img/p/6/3/7/637.jpg) for product ID 637
  8. etc !!!!!!!!!!!!!!!!!!!!!!!!!!

Share this post


Link to post
Share on other sites

Adam, your PrestaShop is using the old directory system for images. They're all in the img/p/ folder, when the new system requires them to be in subdirectories.

 

Ex: image 1752.jpg is going to be in img/p/1/7/5/2/

 

You can do that easily with the button "Move images" in your Back-office :

 

post-500958-0-43626800-1394186387_thumb.gif

Share this post


Link to post
Share on other sites

And this is in 1.5 :

 

attachicon.gifdd.gif

Xavier,

its not 1.5.6.2 i think.

mine is different,.

there is no such move images after regenerate thumbnails

post-743638-0-78669700-1394219670_thumb.jpg

Share this post


Link to post
Share on other sites

Yes it is a 1.5.6.2. What does it say when you click on "Regenerate thumbnails"?

are you sure of it?

damn mine is 1.5.6.2 but is not like that man...

it give 4800++ errors man..

Share this post


Link to post
Share on other sites

Hi there,
 
I came across this problem upgrading to 1.5.6.2, where "original image is missing or empty" and I got hundreds of errors on regenerating thumbnails resulting in all images being replaced by a question mark.
 
It seems to be an issue with the legacy image storing system. Previous versions allowed me to continue using the legacy system in which images were stored inside this folder: Prestashop/img/p/ as a list of images e.g.: product ID 201
201-1.jpg
201-1-home.jpg
201-1-thickbox.jpg
201-1-large.jpg   etc.
 
The new filing system is a little different, using nested folders rather than a huge number of image files in one folder.
Take product ID 201 again.
Would be stored in prestashop/img/p/2/0/1/ as

201-home.jpg

201-large.jpg

201-medium.jpg    etc...
 
 
So PS 1.5.6.2 has been shipped to default to NOT use the Legacy system, and also not offer a choice.
So, even if your updated system displays images using the legacy system, as soon as you regenerate thumbnails, (and delete all existing images) it will delete the legacy images, but then not find any images in the nested folders to regenerate. In short you are f***ed.
 
Solution.
Edit line 56 of prestashop/controllers/admin/AdminImagesController.php from 

(or whatever it says)

$this->display_move = false;

 

to 

 

$this->display_move = true;

 

Then, in the backend, you should go to preferences > images

and at the bottom of the page, find an button to MOVE IMAGES from the Legacy system to the new system. You can look in the prestashop/img/p folder to confirm that they have been moved and renamed to a nested system. 

 

Then where it says: Use the legacy image filesystem, click on "no".

 

Check your images display on your front end, then you should be right to regenerate your thumbnails without the images being deleted or de-linked.

  • Like 1

Share this post


Link to post
Share on other sites

I have just updated from 1.4.3 to 1.6 and I experienced the exact same images problem. BUT I was able to resolve it like a charm.

 

Here are the steps: 

 

1- I created a staging copy of my Prestashop for upgrade.

2- Copy images from the "img/p" folder from your old prestashop 1.4.3 (live site still).

3- Copy images over the staging (1.6)

4- Disable your cache on 1.6

5- Disable Friendly URLs on 1.6

6- Go to Preferences -> Images on 1,6 and switch to Legacy Images 

7- Regenerate all your image WITH "Erase previous images" set to NO

8- Clear your cache and you are all SET 
 
It works for me like a charm. Let me know if that works for you :)
 
Nabil

Share this post


Link to post
Share on other sites

No luck with regeneration in 1.6 

 

 

I have just updated from 1.4.3 to 1.6 and I experienced the exact same images problem. BUT I was able to resolve it like a charm.

 

Here are the steps: 

 

1- I created a staging copy of my Prestashop for upgrade.

2- Copy images from the "img/p" folder from your old prestashop 1.4.3 (live site still).

3- Copy images over the staging (1.6)

4- Disable your cache on 1.6

5- Disable Friendly URLs on 1.6

6- Go to Preferences -> Images on 1,6 and switch to Legacy Images 

7- Regenerate all your image WITH "Erase previous images" set to NO

8- Clear your cache and you are all SET 
 
It works for me like a charm. Let me know if that works for you :)
 
Nabil

 

 

No luck with regeneration in 1.6. Not works. 

  1. Original image is missing or empty (C:xampphtdocsprc16/img/p/2/3/9/239.jpg) for product ID 60
  2. Original image is missing or empty (C:xampphtdocsprc16/img/p/2/4/0/240.jpg) for product ID 60
  3. Original image is missing or empty (C:xampphtdocsprc16/img/p/2/4/1/241.jpg) for product ID 60
  4. Original image is missing or empty (C:xampphtdocsprc16/img/p/2/4/2/242.jpg) for product ID 60

Share this post


Link to post
Share on other sites

I upgraded to 1.6.0.6 and on hover my images disappear also there is no image display in the cart on the top menu.

Can anyone help as I cant configure my shop on facebook.

Share this post


Link to post
Share on other sites

UPD: as I see many people have the same trouble,so I should update my post with simplest solution:

Guys, simple way, just edit your config/settings.inc.php file and set shop creation date "in the past" earlier than 2013-03-26, like:

define('_PS_CREATION_DATE_', '2011-09-11');

It works)

 

old:

My English not so good, but maybe someone will face a similar problem. I did manual shop upgrade for one of my clients from ver. 1.4.x to 1.5.5 (latest)

 

After upgrade - shop did not show product images (with default template and created _default suffixes) and I see error "original images missed".

Client shop used default images settings before  - all product images in one folder. Ok, now we understand problem - Prestashop refused from old image storage system and use only now "legacy = no" (and maybe have some bugs with define right settings for your shop)

 

Solution:

edit controllers/admin/AdminImagesController.php

find 

// No need to display the old image system if the install has been made later than 2013-03-26
		$this->display_move = (!Configuration::get('PS_LEGACY_IMAGES') && defined('_PS_CREATION_DATE_') && strtotime(_PS_CREATION_DATE_) > strtotime('2013-03-26')) ? false : true;

replace to

		$this->display_move =  true;

then goto Preferences -> Images and click Move Images

When it will be done - change code as before or leave it.

Will this work on PS 1,6x?

Share this post


Link to post
Share on other sites

When you open up those pictures via FTP, do they correctly show?

 

If it is only those three pictures, I would delete the current picture and replace them again to see if it works. That may actually do the trick.

What is the solution if we get 504 gateway time out whule regenrating thumbnails ? for PS 1,4

Share this post


Link to post
Share on other sites

 

I have just updated from 1.4.3 to 1.6 and I experienced the exact same images problem. BUT I was able to resolve it like a charm.

 

Here are the steps: 

 

1- I created a staging copy of my Prestashop for upgrade.

2- Copy images from the "img/p" folder from your old prestashop 1.4.3 (live site still).

3- Copy images over the staging (1.6)

4- Disable your cache on 1.6

5- Disable Friendly URLs on 1.6

6- Go to Preferences -> Images on 1,6 and switch to Legacy Images 

7- Regenerate all your image WITH "Erase previous images" set to NO

8- Clear your cache and you are all SET 
 
It works for me like a charm. Let me know if that works for you :)
 
Nabil

 

Can you tell me exact paths of stagging image or the folder where it needs to be created?

Share this post


Link to post
Share on other sites

Thank You it worked for me. I have regenerated after moving the files.

Share this post


Link to post
Share on other sites

my solution:

 

rename the image in preference->images in xxxx_default.  Es home  rename to home_default

 

this method worked on update from 1.4.6  to 1.6

 

no need to regenerate images ( no gateway timeout  :-) )

 

i hope this help someone

Share this post


Link to post
Share on other sites

I am getting error when I use new themes as I have more than 1000 products regeneration on thumbnail has became impossible.

 

My old images shows up with thumbnail but new images shows with no image.

 

In my new theme there is option of descending of images showing all new uploaded images on top but all images shows no images but when I do ascending all my old images shows up.

 

If I upload a single upload of product it shows up even after decending order .

 

Any solutions as regeneration of thumbnails takes more than hour and fails giving 404 error for all.

 

If I do regeneration of thumbnail for cart_default it gives error original image missing

Share this post


Link to post
Share on other sites

I am getting error when I use new themes as I have more than 1000 products regeneration on thumbnail has became impossible.

 

My old images shows up with thumbnail but new images shows with no image.

 

In my new theme there is option of descending of images showing all new uploaded images on top but all images shows no images but when I do ascending all my old images shows up.

 

If I upload a single upload of product it shows up even after decending order .

 

Any solutions as regeneration of thumbnails takes more than hour and fails giving 404 error for all.

 

If I do regeneration of thumbnail for cart_default it gives error original image missing

Use Move image option fist then regenerate htaccess file

otherwise regenerate thumbnail one by one not using All option make sure images dimnisions are same in new theme like old one 

Pass me store URl if possible

Share this post


Link to post
Share on other sites

I had the same error

  1. Original image is missing or empty (C:xampphtdocsprc16/img/p/2/3/9/239.jpg) for product ID 60

I see that the id is the only product in the homepage, in the tab "new arrivals"

 

my solution is to upload manually the images for this product

 

 

Matteo

Share this post


Link to post
Share on other sites

I have upgraded my site from ps 1.5.3 to 1.5.6 after upgrdation there is no image shown on my site. I have done ps creation date on settings.inc.php file and set true for move images but there is no change on my site. after that i just rename the img folder name..now it shows some of product images and still question mark symbol appear on some of product images. help me to fix this issue.. thanks in advance

Share this post


Link to post
Share on other sites

Hello I read through all the post here but I am still not sure what I should do. I just upgraded to 1.6 from 1.5 and now my images are displaying very small compared to my PS development site as well as PS live Demo site. I also see on PS live Demo site many less settings in back office compared with my live site. There is even  one extra column called "Scenes" in my shop unlike PS demo shop. During my testing on my own development site this image problem did not occur only now after upgrading live site with One Click Upgrade.  I believe all my extra rows are left overs from 1.5 those without the "_default"behind them. Can I now just delete these rows? Also I had to change a couple of the settings to match all PS default settings like in demo shop. Should I use the "Move Image Option" and if so just what will that do? Also should I regenerate all images as I was instructed to do after making edits to some image settings? I have recently uploaded all brand new images 800x800 but they are all still displaying very small. Thanks so much.  

Share this post


Link to post
Share on other sites

I just upgraded to 1.5.6.1 from 1.5.6.0 Some of the pictures are missing from my website and question mark is appeared. There us no legacy system or move images available. Lat time it was there I think when I upgraded to 1.5.6.0 but now it is missing. I still regenerated the images but still images are missing. What should I do ????

 

Ofcourse I pressed control + F5 but images are still missing

Change the image thumbnail values 

Share this post


Link to post
Share on other sites

How can I get the "Move" to legacy option back in 1.6.0.11? At this point, I am willing to start over from scratch with the upgrade. Anyone please..I'll do what I need to do to get my images.......

Share this post


Link to post
Share on other sites

Hi Sergey

 

I have been trying everything to resolve this issue. Can you please advise where i find 'edit config settings as I can't find it within the shop?

 

Thanks

Leigh

Share this post


Link to post
Share on other sites

kitesurfsup you have to change the date of creation of prestashop to display the setting, but in my case this procedure has not solved the problem, we are still without images in BO

Share this post


Link to post
Share on other sites

Hi i am having same issue i migrated server, files where missing i manually updaload, changed date, changed adminimage cntrol to True, reenerated thumbnail and still ? on images which are actually there in ftp.

Share this post


Link to post
Share on other sites
Hello,

 

try to solve the problem in this topic....

 


In my case, the images are in place, in fact if I click on the photo of the image missing, prestashop opens the correct picture to full screen.

 

In my case also lack the icons for choose the cover image.

 

PS: 1.5.6.1

Share this post


Link to post
Share on other sites

If you're upgrading from 1.3.7 to 1.5.6.2  and have moved your images to the new file system, regenerated but still get blank images in your shop, you need to add '_default' to all of your image names, then regenerate all images.

 

Eg. 'small' becomes 'small_default' etc.

 

I don't know if this needs doing from 1.4.x to 1.5.6.2, or from 1.5.x to 1.6, but you sure need to do it with 1.3.7.

 

Just wasted around 5 hours playing with this and searching for an answer ... the upgrade instructions need to say things like this very clearly (or the program code needs to add the '_default' automatically during the move process where it's needed).

Share this post


Link to post
Share on other sites

.. In Preferences > Imges we have:

 

1 small_default 45 px 45 px
2 medium_default 58 px 58 px
3 large_default 264 px 264 px
4 thickbox_default 600 px 600 px
 
etc...

Share this post


Link to post
Share on other sites

Hi,

 

You already have the '..._default' on your image names.

 

In 1.3.7 the image names don't have that as standard (eg they're just named 'small', 'medium' ...)

Share this post


Link to post
Share on other sites

Welcome to the club !

 

Hello,

 

I've the same issue that @gipielle .

Does someone solve it?

 

Thanks

Share this post


Link to post
Share on other sites

After upgrade 1.4 to 1.6 i am missing most of my product pictures

 i read all solutions and i did all unfortunately I still have problem

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More