Hi All,
I find the web-based media uploader to be extremely inconvenient. Is there a way for the media library to scan existing files in the directories to add and generate thumbnails for? Thanks for the info,
m
Auto-detection of existing media on server?
Auto-detection of existing media on server?
Last edited by matter on Tue Feb 23, 2010 3:21 pm, edited 1 time in total.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Auto-detection of existing media on server?
Hi!
Yes, of course. You can simply put your files inside the /uploads structure via FTP/SSH/whatever, and simply click on "Rebuild Thumbnails" in the s9y admin section. It will create thumbnails for all files that don't have one yet.
Best regards,
Garvin
Yes, of course. You can simply put your files inside the /uploads structure via FTP/SSH/whatever, and simply click on "Rebuild Thumbnails" in the s9y admin section. It will create thumbnails for all files that don't have one yet.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Auto-detection of existing media on server?
I suppose there's no way to include directories that are not under uploads? I tried adding the directories to the media structure, but no dice.
Re: Auto-detection of existing media on server?
OK, I made a symbolic link- that solved the problem. Unfortunately the tumbnail generation is failing:
Hopefully it's not a server problem since my php.ini has 32mb listed... Anyway, thanks again for letting me know about rebuilding thumbs. Cheers!
m
Code: Select all
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 15488 bytes) in /home2/mattrosa/public_html/include/functions_images.inc.php on line 1307m
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Auto-detection of existing media on server?
Hi!
Large JPEGs take up huge amounts of RAM to resize. A 1MB JPEG can easily take up to 50MB of RAM, but your server is limited to 32MB. You might need to resize the JPEGs so that it fits your memory limit, or raise the PHP memory limit...
Best regards,
Garvin
Large JPEGs take up huge amounts of RAM to resize. A 1MB JPEG can easily take up to 50MB of RAM, but your server is limited to 32MB. You might need to resize the JPEGs so that it fits your memory limit, or raise the PHP memory limit...
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/