I want a theme like 'Red Carpet' Help!

Discussion in 'WordPress' started by swhipps, Dec 26, 2011.

  1. #1
    I want the theme 'Red Carpet' soooo badly! I mean i have it but the images wont work! check it out (if you know how to fix i will pay you!) www.hollywood-uncovered.com

    So yeah, also if anyone can take the them and make the images come up without phpThumb (using timthumb or something) that would be great!

    Or is there anymore like it?

    Please help a fellow blogger!
     
    swhipps, Dec 26, 2011 IP
  2. philnet

    philnet Well-Known Member

    Messages:
    180
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #2
    philnet, Dec 27, 2011 IP
  3. kokopelli

    kokopelli Peon

    Messages:
    2,436
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Since it's a premium theme, and we know you won't use a nulled copy, you can simply ask for support from the theme author's website ...
     
    kokopelli, Dec 27, 2011 IP
  4. swhipps

    swhipps Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well I host with godaddy. So do you guys think maybe I can change the phpthumb to something like TimThumb? If I can be converted? Do any of you guys wanna try it?
     
    swhipps, Dec 28, 2011 IP
  5. philnet

    philnet Well-Known Member

    Messages:
    180
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    #5
    If you're able to edit the php for the template, I've got this working on Godaddy (All of this depends on your confidence levels with php).
    Create a new document called imageresize.php and paste the following code into it :

    
    <?php[INDENT]// The file
    $filename= $_GET['image'];[/INDENT]
    [INDENT]
    [/INDENT]
    [INDENT]// Set a maximum height and width
    $width = 100;
    $height = 100;
    
    
    // Content type
    header('Content-Type: image/jpeg');
    
    
    // Get new dimensions
    list($width_orig, $height_orig) = getimagesize($filename);
    
    
    $ratio_orig = $width_orig/$height_orig;
    
    
    if ($width/$height > $ratio_orig) {
       $width = $height*$ratio_orig;
    } else {
       $height = $width/$ratio_orig;
    }
    
    
    // Resample
    $image_p = imagecreatetruecolor($width, $height);
    $image = imagecreatefromjpeg($filename);
    imagecopyresampled($image_p, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
    
    
    // Output
    imagejpeg($image_p, null, 100);[/INDENT]
        
        
        
        ?>
    
    Code (markup):
    You can then process the image like this :

    <img src="imageresize.php?image=image url>

    You could improve image resize by adding in parameters for width and height.
    This works on Godaddy as I'm using on sites hosted there to generate thumbnails from various image sources.

    Hope that helps
    Phil
     
    philnet, Dec 28, 2011 IP
  6. androgine28

    androgine28 Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Very difficult but a very nice theme. In particular a very useful advertising space.
     
    androgine28, Dec 29, 2011 IP