Results 1 to 6 of 6

Thread: Resizing Thumbnails

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    maryb's Avatar
    Join Date
    Apr 2009
    Location
    Portugal
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Resizing Thumbnails

    Hi,

    I just bought your theme yesterday and i'm very happy with it.
    I don't know about coding, but i'v been exploring it and i made the changes as i wanted.

    But, I need help for:

    1. resizing the thumbnails in front page and in ad page

    2. taking off the word "price" in the front page, when i change the code in the index page, the thumbnails disapear - i already took it from the form and it's working ok

    3. how do users post videos? i tried to insert in the description an embed code but it doesn't work - even with the allowed html

    If you could tell me how it is it would be great help.

    Thank you and sorry for my english.

    Maria (from Portugal)

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Resizing Thumbnails

    Hi Maria-

    If you want to change the size on the home page you'll need to edit the index.php page and search for

    Code:
    img_resize.php?width=50&height=50
    Change those width and height values to something else. If you make them much bigger it might offset the rest of the rows though.

    If you want to remove the column head "Price" then you can also find that in the index.php file. Search for

    Code:
    <span class="price">
    and either leave it blank or put something else there.

    For embeding videos the option for html needs to be set to on. Then you need to paste the correct type of code into the description box. Here's an example straight from youtube:

    Code:
    <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/-oC3aIHg95A&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/-oC3aIHg95A&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
    It's not the standard url in your browser that you copy and paste in. It needs to be an object like above which is usually provided by most video sites now in a small "Embed" box.

    Good luck!

  3. #3
    Thread Starter
    Newbie
    Not a Verified Customer
    maryb's Avatar
    Join Date
    Apr 2009
    Location
    Portugal
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Resizing Thumbnails

    Hi again!

    Thank you for your answers and i'm sorry for taking your time.

    Regarding the thumbnails, when i change the code in the index.php (img_resize.php?width=50&height=50) what happens is that the image gets bigger but inside a square, just as you make zoom - it doesn't show the all image.
    -- is that supposed? i would like to show the all image with width=100&height=100
    == should i change someting else?

    As for the price, i didn't explain myself clear. i would like to take it off from the bar. when i change the code the word "price" stills there.

    I tried to ad a video, and the HTML is set on, with the embed code, but it doesn't show up. Is there anything else that has to be done?

    I would really appreciate your help as these are the last issues to get my site as i wanted.

    All the best

    Maria

  4. #4
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: Resizing Thumbnails

    Hi Maria-

    It seems you will also need to update the stylesheet height and width to 100 as well. That size is actually quite big and I don't recommend it. That spot is designed to be for a small thumbnail. See the below image as well showing you how it looks after making the change. You'll also need to change the width on the other columns to prevent overlap.

    Search for this in your .css file (/css/ folder depending on which theme color you are using) and make the change if you'd like to see how 100 x 100 looks on your theme.
    .main_page_img

    To remove the "Price" text, just edit index.php and remove the following code:

    Code:
    <?php _e('Price','cp'); ?>
    For videos like youtube, you need to use the embed code (assuming your "allow html" classipress option is set to "yes"). See the screenshot below for more information. Hope that helps!

    [attachment=1:20j6cuxt]100x100-example.gif[/attachment:20j6cuxt]

    [attachment=0:20j6cuxt]youtube-embed-example.gif[/attachment:20j6cuxt]

  5. #5
    Amateur
    Not a Verified Customer
    allmyhoney's Avatar
    Join Date
    Dec 2009
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Resizing Thumbnails

    Hi there, I have changed the index.php file and also the master css file in order to change my thumbnail to a 100x75 pixel size. However even though the column and surround of the image have changed to reflect this size the image itself is still constricting to the 50x50 original size? is there a third place I need to change this?

  6. #6
    Amateur
    Not a Verified Customer
    allmyhoney's Avatar
    Join Date
    Dec 2009
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Resizing Thumbnails

    Can Anyone else give me a hand on possible getting to the bottom of this larger thumbnail I wont to correct? Ive edited the index.php and master.cc files to make the changes and the surround of the image gre fine to these dimensions but the image itself did not change at all!! anywhere else that it is needed to change?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)