Quote:
Originally Posted by tommythejoat
Perhaps I was reckless but I wanted image resizing, so I installed the 1.0.5 version on my test board.
I was not sure from the instructions whether the mod would create the /images/import directory or I would need to do that, so I ran it for a little while without manually creating the directory. The directory did not appear, so I then created the directory with 755 permissions.
I then ran the mod for about an hour and checked the table iei_img to see what was going on. The table shows a number of images have been re-url'd with many going to year based subdirectories and many just being ignored because they were invalid.
However, the /images/import/ directory remains empty.
Here is a translated url from the table
http://mb.nawcc.org/forum/images/imported/2006/11/1.jpg
Are these entries just a "plan of work" and the code actually does the transfers as another background task?
I have turned the mod off by disabling the cron job at the moment
|
These subfolders are created from the post date of the one they were taken from. The code parses posts one by one and tries to find pasted image references. If it finds one, it creates a new entry ([forumhome][setting]/year/month/progressive.extension) and imports the image and changes the reference in the post. Then it sets a flag to the post in order to avoid reparsing with value 1. Other values may follow for additional services and new add-ons.
If an image was imported previously, it just sets the new reference.