kater Posted January 14, 2015 Share Posted January 14, 2015 Since PW API handles image resizing so nicely, i think of using original images (up to 15MB) on archive articles for whatever "retina"/download/... reason the client might come up at a later point. The images did not display in the backend view due "not enough memory" until i set PHP momory limit to 256MB. No other testing issues yet but i have only 5 pages rather than hundreds. Webspace is plenty. Do you see any problems here performancewise? thanks! Link to comment Share on other sites More sharing options...
qtguru Posted January 14, 2015 Share Posted January 14, 2015 I don't think this has anything to do with physical memory but the memory used in loading the images, are you using a PHP function to read the image, that would be responsible for the increase a memory uses. also 15mb image is quite large Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 14, 2015 Share Posted January 14, 2015 Php has to load the image uncompressed to the memory, so you need to have lots of ram and this will be needed everytime you generate a thumbnail. So if you ever have a situation, where multiple thumbnails would be generated, this will slow down the server considerably. 2 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted January 14, 2015 Share Posted January 14, 2015 15mb image is insane 2 Link to comment Share on other sites More sharing options...
mr-fan Posted January 14, 2015 Share Posted January 14, 2015 only way to handle such big images would be a normal file field prepared to load the big ones to have it for download or something else....and save them while uploading in a smarter size in a image field....? 1 Link to comment Share on other sites More sharing options...
kater Posted January 16, 2015 Author Share Posted January 16, 2015 thanks for your replies. it's only a couple images per article (once every few weeks). so once the thumbs/downloadable images sizes are generated the server should do ok? however, rebuilding the thumbs/cache will certainly cause some stress. guess i will try to find a way to generate various files while uploading. the users receive the original files from the photographer but depending who's in charge, resizing for web and uploading the original in various sizes in seperate fields will challenge some cheers! 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