Jump to content

Images don't appear in front , something to do with legacy


kutchbhi

Recommended Posts

Prestashop version: 1.5.6 . This is for a custom import tool. It imports products into presta from a feed.

 

Images do appear in back office, but in front shop only appear as question marks.

 

When directly going to the image:

/img/p/2/2/1/9/5/22195-large_default.jpg - this works

 

but presta is actually looking for a image located at: 

/img/p/2/2/1/9/5/566-22195-large_default.jpg

 

where 566 is the product_id

 

Googling suggests it has something to do with legacy file system . But what ?

I tried the default theme and it made no difference..

 

Would appreciate any help

 

Edit: I just noticed on my localhost installation of perstashop(a different version) images paths (that also work) are as:

 

/img/p/8/9/89-home_default.jpg

 

So basically the product_id is not being used here, to fetch images

Edited by kutchbhi (see edit history)
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...