• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Attachment Thumbnail VS link

#3
The reason I ask is, most forums show a small thumbnail to guests to entice them to join and see the full size picture, but on a phone you can simply pinch and zoom the thumbnail to full size which defeats that. :eek:

What's the smallest size you can make the attachment thumbnails?
 

Chris D

XenForo developer
Staff member
#4
The default thumb size is 120px I think. If that's a e.g. 1200px photo pinching to zoom in isn't really going to give you the full experience. I guess you can make them even smaller if you're still concerned.
 
#6
So, I set the thumbnail size to 25 and proceeded to rebuild attachment thumbnails, it made it almost through when it stopped with this error:
Fatal Error: Allowed memory size of 96321944 bytes exhausted (tried to allocate 21888 bytes)

Any ideas?
 
#9
Thanks, I just needed to add a phprc file under my username with the following and it finished.
Code:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 500
max_input_time = 50
memory_limit = 256M