Jump to content
Sign in to follow this  
lastcowboy

i would like to ask the purpose of a tmp folder inside the img folder

Recommended Posts

Hi there,

i noticed that for product images they tend to be stored inside the img > p folder

but what is the point of having the exact same image appear inside the img > tmp folder?

why the difference in the naming convention?

I am puzzled. please enlighten me.

thank you.

Share this post


Link to post
Share on other sites

And how does that help the system? faster? how?

Why not just directly use the pics in the p folder? why not?

Share this post


Link to post
Share on other sites

Thank you for answering, jakcrabbit.

Anybody who is a developer from the prestashop software or has the php expertise to answer why prestashop wants to have a tmp folder in its img folder?

i am asking because i admire the elegance of the prestashop software

and I am now emulating the way it stores images using the item id and the image id as its filename. eg, 8-20-small.jpg in a p folder.

I have implemented something like that but for a review website. and i came across this tmp folder and am puzzled as to why prestashop software stores similar images in 2 different places.

thank you.

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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