Important notice about the future of Stripcreator (Updated: May 2nd, 2023)

stripcreator forums
Jump to:

Stripcreator » Regarding Stripcreator » Noob suggestion, please be gentle

Author

Message

KungChiFu
L337 57ripX0r

Member Rated:

Crunchy:

See, what we gotta do here is get alla them graphics, then run batch converter on them, resize them down to itty bitty file sizes, then you can do your html thing and we're done. Gimmie a PM and I'll tell you how.

---
Your mickey mouse kung fu is no match for my superior fighting style.

6-12-03 2:35pm (new)
quote : comics : pm : info


wirthling
supercalifragilisticexpialadosucks

Member Rated:

I would think it should be fairly easy to create a php script that grabs all of the images and dynamically dumps them (re-sized) into a page.

I still know very little about php but I have a vague idea of how I would approach it. You could use a filesystem (?) object to get the names of the subdirectories of /image and put those directory names in an array. (I'm not sure exactly what object php uses for this but I'm sure there's something that enables retrieving directory contents.) Then, get the file names in each of those directories and associate them with their category with either customized objects or a two-dimensional array or something along those lines. (If the files and categories are already in a database, you wouldn't even need to bother with all of that, but I don't think they are.) Then it's a simple matter of generating the page with the category names and image names.

I think brad can handle it, despite the fact he's Canadian. Maybe if he's too busy raping mooses or playing hockey I could do some experimentation on my own and send over a completed script. It would take me a while, though, and it would suck, of course.

If bandwidth is an issue and someone else wants to host the thing, there could be a script on SC that just generates the list of file names, categories, and paths and then the host would just need to have a script that can extract the data from the SC page. (Or could one just write a script to get the directories and file names straight off the SC server? I wouldn't know how to do it but I suppose it's possible.) It might just be better, however, to shrink the images down. The extra storage space the new images take up would be negligible compared to the bandwidth eaten up each time a page with full-sized files is loaded. Maybe a combination of shrinking and dynamic page generation is the best answer. The batch conversion would be a good way to convert all of the existing files but some manual labor would still be required to generate shrunken versions of new images as they get added.

OK, maybe I shouldn't have had that second espresso.

---
"And Wirthling isn't worth the paper he isn't printed on."

6-13-03 1:18am (new)
quote : comics : pm : info


wirthling
supercalifragilisticexpialadosucks

Member Rated:

Oh, and backgrounds should be included.

---
"And Wirthling isn't worth the paper he isn't printed on."

6-13-03 1:26am (new)
quote : comics : pm : info

Stripcreator » Regarding Stripcreator » Noob suggestion, please be gentle


reload page with comics

Jump to:

Post A Reply


stripcreator
Make a comic
Your comics
Log in
Create account
Forums
Help
comics
Random Comic
Comic Contests
Sets
All Comics
Search
featuring
diesel sweeties
jerkcity
exploding dog
goats
ko fight club
penny arcade
chopping block
also
Brad Sucks