1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Caffeinated Content - any way to change the images?

Discussion in 'Blogging' started by zx_81, Dec 8, 2008.

  1. zx_81

    zx_81 Newbie

    Joined:
    May 10, 2008
    Messages:
    43
    Likes Received:
    3
    Is there a simple way to change the autogenerated images CC pulls for a post?
     
  2. blackhit

    blackhit Super Moderator Staff Member Jr. VIP Premium Member

    Joined:
    Jan 28, 2008
    Messages:
    2,402
    Likes Received:
    4,251
    Location:
    Dark Side Of The Moon
    For what I know the only way is to edit the post and remove or replace the image.
     
    • Thanks Thanks x 1
  3. zx_81

    zx_81 Newbie

    Joined:
    May 10, 2008
    Messages:
    43
    Likes Received:
    3
    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
     
  4. predayshus

    predayshus Junior Member

    Joined:
    Aug 13, 2008
    Messages:
    125
    Likes Received:
    76
    Location:
    In your mom
    You don't like the standard images flipped up-side-down?

    I've always had to edit the posts to change the pics.
     
  5. zx_81

    zx_81 Newbie

    Joined:
    May 10, 2008
    Messages:
    43
    Likes Received:
    3
    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.
     
  6. xxkixx

    xxkixx Newbie

    Joined:
    Apr 17, 2008
    Messages:
    32
    Likes Received:
    20
    You can remove the pictures completely if this helps you at all by editing the template files in the templates folder.
     
    • Thanks Thanks x 1
  7. zx_81

    zx_81 Newbie

    Joined:
    May 10, 2008
    Messages:
    43
    Likes Received:
    3
    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. :)
     
  8. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    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:

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

    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.
     
    • Thanks Thanks x 1
  9. zx_81

    zx_81 Newbie

    Joined:
    May 10, 2008
    Messages:
    43
    Likes Received:
    3
    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.