e107help.org Q&A
0 like 0 dislike

Just a small question.

I've got a v1.4 plugin wich is on the row to be upgraded to v2.1, but this plugin uses images heavelly (right now, there's 12500 images - thumbnails, full sizes images, etc. on the images plugin folder or below... and still growing), so i', m asking if i should leave the images for v2.1 as it is now (under the own plugin/images folder) or let media manager deal with them???

The issue is that uploading 12500 images to media manager in a row is quite a bit a server cracker.... devil

e107 version 2.1
closed
in Plugins by (310 points) 25 40 48
I am next. For collection. Maybe 200 series, each 2-3 editions, BPZ (paper) 10/15 for serie, each edition 10-15 figures, each figure can have separate image for bpz. Plus variants, additional items... My old Nuke managed this by creating path to images from other database fields (anoying with rewrite file names and manual upload on server). With moving to e107 (not finished yet) I generated old paths to plugin folder (Media Manager can manage these with path {e_PLUGIN} ), but new ones are uploaded with new way and saved in media folder. After time I think it was not good idea. Using MM and then moving image to plugin folder and rewrite image path would be better. Still not sure what to do with it, but moving to better hosting helped a lot. Main reason why I am waiting is that not clear relationships between media owner, category, plugins etc.

@moc I also think is better to let the plugin handle all the images, since right now, i've got them on separate folders under the plugin/images, since i've also writen a image handler and thumbnail watermarking & maker, wich handles all the images.

For instance, every image has 3 copies: thumbnail, display (watermarked) & original, each on a separated folder, since all three images have the same name (good or bad, goes figure...)

I though that let MM deal with all this would be a real headache, so...

Well, i've been working long ago in a catalogue, that relies heavilly on images, and after many testing, i decided to use e107, mainly because of flexibility. I've tried other well know CMS, and i dislike them.

There's even a well know web catalogue, writen on top of WP, and for me, it sucks....

So, i've sticked to e107. But i use it because almost everything: users management, forum, links, downloads, gallery, etc., so i think that a CMS was really what a i needed, since i'm trying (with no success.... cheeky) to create a comunity around my catalogue....

@jimako I think we have to have a long talk.... wink

Anyway, i'm planning to use e107 as base for a deeper portal based om my original website....

Am i thinking wrong? Is e107 the ideal base tool for a portal?
It really depends on what you want to do with it. Personally for something like photography I would not use e107 since there are platforms out there specialized in photography websites which are optimized for a larger amount of high quality images (caching, dynamic resizing - so you don't need a copy of a file in different dimensions, compressions, etc.).

e107 is not a platform which is optimized for this. So again, I personally would invest my time in cleaning out the large amount of photo's, reducing redundancy (e.g. copy of the same image with different dimensions - only keeping the largest/highest quality one, and then let dynamic resizing do the rest). This takes care of thumbnails. Many portals can also do dynamic watermarking. So basically what I am saying is, clean up the redundancy first. Then see how many images you actually have and re-evaluate.

Concluding, I wouldn't use e107 for this purpose specifically but you may want to give it a try. It also strongly depends on server configuration (memory, harddisk IO and CPU are the bottlenecks in you case). If you also have other purposes for the website, then yeah you may want to try e107. If it's images solely, I'd advise to find a different platform. Then again, the media manager is I think capable of watermarking as well.. so it's interesting. It's just not a very mature system in that way, since it needs more testing and people testing it for it to improve.

1 Answer

0 like 0 dislike
Best answer

Concluding, after discussing a bit (see comments):

It really depends on what you want to do with it.

Personally for something like photography I would not use e107 since there are platforms out there specialized in photography websites which are optimized for a larger amount of high quality images (caching, dynamic resizing - so you don't need a copy of a file in different dimensions, compressions, etc.).

e107 is not a platform which is optimized for this. So again, I personally would invest my time in cleaning out the large amount of photo's, reducing redundancy (e.g. copy of the same image with different dimensions - only keeping the largest/highest quality one, and then let dynamic resizing do the rest). This takes care of thumbnails. Many portals can also do dynamic watermarking. So basically what I am saying is, clean up the redundancy first. Then see how many images you actually have and re-evaluate.

Concluding, I wouldn't use e107 for this purpose specifically but you may want to give it a try. It also strongly depends on server configuration (memory, harddisk IO and CPU are the bottlenecks in you case). If you also have other purposes for the website, then yeah you may want to try e107. If it's images solely, I'd advise to find a different platform. Then again, the media manager is I think capable of watermarking as well.. so it's interesting. It's just not a very mature system in that way, since it needs more testing and people testing it for it to improve.

by (2.8k points) 7 10 10
When done properly (in combination with caching) dynamic resizing and watermarking will be more effective and efifcient, and in fact be quicker than three separate versions. It's up to you though.`

Also note, there is no way to compare v1.0.4 version v2.x.x. The latter is a complete rewrite of the first one and they share very little in common except for an enourmous amount of backwards-compatibility extracts (which makes life complicated haha). Performance on v2.x will be different.

@Moc When you say donne properly, you say using the media manager thumbnail & watermarking functions (if there's any...)???

No, in this case I am referring to using existing libraries out there which you can use, which you can combine when you code yourself. The media manager may also provide the performance you are looking for but I do not have any experience with it.

It would actually be a great test (it for sure has thumbnail functionality - which is used throughout e107 already - and it should also have watermarking). 

@Moc I've once, on the v1.4, tryed that approach (dynamic thumbnail creation & watermarking) with code i found out on the web, but it simply crippled that page that you saw on my site! It was loaded in more than 1 minute, while in the same server, it loads in less than 5 sec using static thumbnail images & static watermarked images...

When using static images and cache, the thumbnails and watermarked images are also cached, so, as far i see it, using static files is faster for page loading, at least for the first user to visit that page.

When using the dynamic thumbnail & watermarking, if they're not in cache yet, the user has to wait for the scripts to run, to see the image. And not to mention that the bigger imag that originated the thumbnail & watermark have to be loaded from the server also....

As far i see it, it's faster to load 50x 60kb images (static ones) that 50x 120kb images (for dynamic processing)...

I can see that today with media manager. For instance, on a XP machine, if i try to pick any image from the media image search, it takes a lot of time to load, since it's generating thumbnails. If those thumbnails were static images, it would be on the fly....

 

Anyway, i'll give it another try and will do some tests & benchmarking....

So, found out these php files in e107:

Now got to go on a little study this one to figure out how to use them...

Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
981 questions
1,378 answers
2,506 comments
2,504 users