Welcome to Geeklog, Anonymous Wednesday, January 15 2025 @ 02:09 am EST

Geeklog Forums

split images/articles folder


Status: offline

meto

Forum User
Newbie
Registered: 04/17/03
Posts: 2
is it possible to split "images/articles" folder to 2-3 or more separate folders, maybe topic based?

i'm using geeklog for more than 2 years and this folder is pretty big - about 5400 files there Frown

or i can simply replace old URLs in gl_stories table:
like
src="http://www.mysite.com/images/articles/200401011132573.jpg"

to become
src="http://www.mysite.com/images/articles1/200401011132573.jpg"

where "articles1" is sort of archive folder
 Quote

Status: offline

meto

Forum User
Newbie
Registered: 04/17/03
Posts: 2
well ... took some longer than expected Sad
upgraded from 1.3.8 to 1.4.0sr2 Laughing

firstly renamed the folder ../articles to ../articles1
then replaced all URL strings in the database to point the new folder
next created /articles folder again and upgraded
all old stories use images from articles1, all new should use articles folder.
it was realy long list of files

now i have just one problem, think it wont hurt me Wink
when trying to edit old story i receive msg like this:
Text Formatted Code
Warning:
getimagesize(/public_html/images/articles/2006011017370072_1.gif):
failed to open stream: No such file or directory
in /public_html/lib-common.php on line 5547
 


www.ndt1.com (alas bulgarian only)
 Quote

All times are EST. The time is now 02:09 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content