Caffeinated Content - any way to change the images?

zx_81

Newbie
Joined
May 10, 2008
Messages
43
Reaction score
3
Is there a simple way to change the autogenerated images CC pulls for a post?
 
For what I know the only way is to edit the post and remove or replace the image.
 
Hmm. Bummer. I was hoping to automate the process a bit better. What I've been doing is scraping Flickr for images and creating batches of thumbs then copy / pasting them 100 at a time, renaming them with Renamer and ftp'ing them to the WP folder but it's a pita.
Code:
http://www.albert.nu/default.asp?sub=programs/default.asp?sub=renamer/main.htm
 
You don't like the standard images flipped up-side-down?

I've always had to edit the posts to change the pics.
 
I don't get what you mean by flipped upside-down?

That sounds like a drag. Four runs of CC and there can be 200 useless images. The good thing is the naming convention is {keyword}{number} so renaming a batch isn't too time consuming if you use renamer.

Still, I'd prefer to be able to point CC to some more suitable pics automatically.
 
You can remove the pictures completely if this helps you at all by editing the template files in the templates folder.
 
I guess that's one way of doing it. I hadn't thought of that.

I might also try editing the source code to point elsewhere but I don't want to stuff things up. :)
 
Hehe funny guy, i thought i would take a look for you and see how the images were being pulled and if it can be changed.. Anyhow functions.inc.php was encoded, so i decoded it and he left a message in there:

1f j00 c4n r34d thz j00 R 4 1337 h4x0r

I then thought w00t i'm a leet haxor, but he owned me back with a line at the end of the decrypted file:

BUT I R SMRTR!

lol funny stuff.

Anyhow to answer your question, yeah it's possible but where would you want to point CC to get these "more suitable pics"? The line fetching them is:

Code:
http://api.search.yahoo.com/ImageSearchService/V1/imageSearch?appid=$appid&query=".urlencode($keyword)."&results=$max&start=$start

But there is some other small bits and pieces you may need to change, plus you will need to decode the file.
 
lol. At least he has a sense of humour. :D

Hm. That could be a problem, lol. How do you decrypt it?

I've no idea where I would get better pics. The ones currently being pulled on one blog aren't any good. It would be good to be able to set the start page or something to be a bit more relevant to the subject matter.
 
Back
Top