Hi
Nothing much to it...
1. Create a directory on your server anywhere you want
2. Download this file (rightclick and save as) (http://path-to-peace.net/misc/random_cartoon.zip)
3. Unzip and Upload the file you downloaded to your directory
4. add this code to a SCRIPT / HTML block
<img src="http://www.mysite.com/myfolder/rotate.php" alt="A Random Image" />
Be sure to change www.mysite.com/myfolder to your website addy and folder path!
And thats all - enjoy :)
Demo: Here (http://path-to-peace.net/forum/index.php)
- Currently 192 Comic Strips in Archive
- Garfeild
- Calvin & Hobbes
- Peanuts (snoopy)
- B.C.
NOTE: Dont put it as a side block or your site will look like frankenstine's nostrils
Details of how this thing works and its homepage can be found HERE (http://automaticlabs.com/products/rotator)
PS: All copyrights on images belong to their respective authors
looks good but i think it should be modified where it inserting the image file paths in every spot. make it to where the script pulls the images from the root folder and just add in the last part of the file, comic.gif
lol u will have to do that :p I dont know much about the script :D
I just like to collect thos comics (or atleast used to) so I had a bunch of them and got the idea
lol i dont know much as to how to do it either :P but i do know some ideas just not how to implement them
well maybe one of the experts could do it - they know their scripting :D
lol thats SO true
added peanuts series
ok...does this script automatically update each comic each day or no?
it automatically updates on ever page load
So if a person keeps loading the TP main page they can eventually read all the comics :D
oh and for additional comics addition..simply copy the image tag and just increase the number in the code above
well i think it should be where it shows the comic for that day
More comics added : B.C. (look at 1st post)
Big Nate added to collection
Additional calvin & Hobbes Added
And thats the end of it :P
I think 192 comics is more than anyone will read :P
Have fun
Thanks - i am using it on my game site
ur welcome :D Im just glad I was able to do something for u guys - u work so hard to bring us TP and smfarcade :D
I have a quick question: I added a few comics to the file that was already provided. Akulion said that for additional comics we should add the comic images to the file and change the NUMBER in the code. can someone tell me which number he/she is referring to please? Thanks!
I don't think that you have to do that ashari. Did you try it yet?
no I haven't altered any codes because I have no idea which code to change. I did add the comics as a paintshop pro image (which the other comics are) and was not able to see them. So now I have changed them to .jpg extensions and I'm trying it out to see if it works. Any ideas?
If you're not seeing anything it's probably because your path isn't right. Play with the path setting to see if anything works.
Hi akulion...
This is one of the best mods for my site so far... don kno how to say more :)
Regards.
I want this one to, but with Swedish comics, and with the most boring swedish people, no one will give me the permissions to use the comics they have for free :'(
Pretty cool..
Is there any way of making this into a "Comic Strip of the Day"?
I know it's not that simple to, but would be perfect if there would be a way.
for pic of the day i would recommend u try one of these scripts
http://usefulclasses.com/index.php?prc=readArticle&aid=potd (a lil more intennsive)
http://www.tomsnewbiebooster.com/resources/picture-of-the-day/script.html (a simple one)
Awesome, thanks! :)
I used the bigger script because the simple one you need to input the filenames of the images to be used.
Works perfect. ;D
Love it. Got it on my forum :) Thanks.
this is a good addition. thanks for the post. :)