Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter pararir

    (@pararir)

    As I replied in the email, it worked!

    Thanks for your quick and awesome feedback!

    Thread Starter pararir

    (@pararir)

    Hi again!

    I confirmed with my host that cURL is available on my server… I’ve been browsing the Internet for a week and found several pieces of information concerning the usage of cURL.

    However I’m not a programing wizard, and I’m just completely confused by it.

    I get that I need to somehow include a function with CURLOPT_NOBODY, and then use a if else to replace (or not) 500.jpg wih 1280.jpg.

    But I don’t know how to begin, especially how will I say to cURL which is the URL I want checked…

    I’ll transcribe the code I got so far, so it’s easier to read:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    This is what I have. But how do I include the cURL request in all this?

    Thank you!

    Thread Starter pararir

    (@pararir)

    Thank you bcworkz!

    That worked!

    However, I just now discovered that some of the pictures in the original feed don’t have the 1280 version.

    When that happens the image appears as non existent (because the 500.jpg exists, but not the 1280.jpg image) so it gives an error.

    Is it possible to just change from “500.jpg” to “1280.jpg” if the 1280 link / image exists?

    Thank you once again! WordPress Comunity rocks!

    Thread Starter pararir

    (@pararir)

    Thank you! That worked great!

    However I have one more problem. The images it gets from Tumblr feed are always 500px wide. I think this is a standart feature from tumblr for the homepage.

    So I just discovered the lightbox effect just highlights the images but it doesnt alter it’s size to the original bigger images.

    Now I discovered that the original pictures links always ends with the 1280 while the feeds image I get always ends with 500 reference (I assume this is created automatically by tumblr and represents the maximum width).

    So in the feed (the one I grab) I’ll get say the image with this link: https://25.media.tumblr.com/tumblr_m50hruG2NW1qmggloo1_500.jpg

    But the link of the original (and bigger) image I want is this:
    https://25.media.tumblr.com/tumblr_m50hruG2NW1qmggloo1_1280.jpg

    I need to grab the original 1280 px and not the feed standart 500px images. So my question is:

    Is there something I can add in the script to change the expression “500.jpg” for “1280.jpg” in all the images url’s that are extracted?

    That would link my lightbox plugin to all the original images and solve the problem.

    Hope I wasn’t very confusing in explaining the problem. Thanks in advance!

    Thread Starter pararir

    (@pararir)

    Anyone?

    Thread Starter pararir

    (@pararir)

    It’s just one popup ??

    Oh well, thanks anyway

    Forum: Fixing WordPress
    In reply to: Blank I-frame
    Thread Starter pararir

    (@pararir)

    Thanks I instaled it and worked, but I still didn’t get what I wanted.

    Thing is I can now put my iframe embbed game on my post but it gets too big, so my option is maybe make it lod in a brande new window.

    Question is, how do I do it, especially now that I’m using the plugin!

    The code I’m using now is:

    [iframe https://www.youdagames.com/iframe/Governor-of-Poker-game-info-2818/ 600 800]

    and I don’t think the plugin has any other options.

    My site is https://pararir.com. I will publish the bad post for some hours so you guys can check it out

Viewing 7 replies - 1 through 7 (of 7 total)