lastcowboy Posted December 21, 2009 Share Posted December 21, 2009 Hi there,i noticed that for product images they tend to be stored inside the img > p folderbut 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. Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 21, 2009 Share Posted December 21, 2009 tmp - TEMP - TEMPORARY.... Link to comment Share on other sites More sharing options...
lastcowboy Posted December 22, 2009 Author Share Posted December 22, 2009 And how does that help the system? faster? how?Why not just directly use the pics in the p folder? why not? Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 22, 2009 Share Posted December 22, 2009 I dont know, this only upload pictures to tmp and resize it to folder how it need.... Link to comment Share on other sites More sharing options...
lastcowboy Posted December 22, 2009 Author Share Posted December 22, 2009 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now