Thread: Image question

Results 1 to 7 of 7
  1. #1
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Image question

    How can I create a thin frame around each image on the main page?

    And what if I wanted to add the name of the product directly under the image?

    I've added an alt image, but when you hover on the image, only the product page URL displays.

    These are different images than the ones I use for product pages and I don't believe I can use the same product number for two different images, so that meant I couldn't use Featured Products for this, so I've created the images in this way on the main page:

    <a href="http://www.designerperfumesnob.com/womens-perfume/Marc-Jacobs/Daisy-Dream/EDT/3.4oz"><img width="250" height="350" alt="Daisy Dream Perfume by Marc Jacobs for Women" src="images/isimages/daisydream.jpg"> </a>

    <a href="http://www.designerperfumesnob.com/womens-perfume/Dolce-and-Gabbana/Dolce/EDP/2.5oz"><img width="250" height="350" alt="Dolce Perfume by Dolce and Gabbana for Women" src="images/isimages/dolce.jpg"> </a>

    <a href="http://www.designerperfumesnob.com/womens-perfume/Lolita-Lempicka/EDP/1.7oz"><img width="250" height="350" alt="Lolita Lempica Perfume for Women" src="images/isimages/lolita.jpg"> </a>
    <br /><br /><br /><br />


    <a href="http://www.designerperfumesnob.com/womens-perfume/Jessica-Simpson/Fancy/edp/3.4oz"><img width="250" height="350" alt="Fancy by Jessica Simpson for Women" src="images/isimages/fancy.jpg">
    </a>
    <a href="http://www.designerperfumesnob.com/womens-perfume/Lancome/Tresor-Midnight-Rose/EDP/2.5oz"><img width="250" height="350" alt="Midnight Rose by Lancome for Women" src="images/isimages/midnight-rose.jpg">
    </a>
    <a href="http://www.designerperfumesnob.com/womens-perfume/Christian-Dior/Poison/edt/1.7oz"><img width="250" height="350" alt="Poison by Christian Dior for Women" src="images/isimages/poison.jpg"></a>


    www.designerperfumesnob.com

  2. #2
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Image question

    looking at your page you have built it manually therefore try adding some inline css for the image borders. See here for examples on the css:
    http://css-tricks.com/using-css-for-image-borders/

    try adding the tag title="Daisy Dream Perfume by Marc Jacobs for Women" as well as the alt tag.
    Phil Rogers
    A problem shared is a problem solved.

  3. #3
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Image question

    Quote Originally Posted by philip937 View Post
    looking at your page you have built it manually therefore try adding some inline css for the image borders. See here for examples on the css:
    http://css-tricks.com/using-css-for-image-borders/

    try adding the tag title="Daisy Dream Perfume by Marc Jacobs for Women" as well as the alt tag.
    I found one suggestion I liked from that link:

    img {
    padding:1px;
    border:1px solid #021a40;
    background-color:#ff0;

    but where do I put it? I entered it in the stylesheet, but since it doesn't know what image to apply it to, nothing happened.

    Also, you mentioned adding a tag title. For this particular image for example, what would I enter?


    <a href="http://www.designerperfumesnob.com/womens-perfume/Marc-Jacobs/Daisy-Dream/EDT/3.4oz"><img width="250" height="350" alt="Daisy Dream Perfume by Marc Jacobs for Women" src="images/isimages/daisydream.jpg"> </a>

    thank you~

  4. #4
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Image question

    Quote Originally Posted by philip937 View Post

    looking at your page you have built it manually therefore try adding some inline css for the image borders. See here for examples on the css:
    http://css-tricks.com/using-css-for-image-borders/

    try adding the tag title="Daisy Dream Perfume by Marc Jacobs for Women" as well as the alt tag.

    I found one suggestion I liked from that link:

    img {
    padding:1px;
    border:1px solid #021a40;
    background-color:#ff0;

    but where do I put it? I entered it in the stylesheet, but since it doesn't know what image to apply it to, nothing happened.

    Also, you mentioned adding a tag title. For this particular image for example, what would I enter?


    <a href="http://www.designerperfumesnob.com/womens-perfume/Marc-Jacobs/Daisy-Dream/EDT/3.4oz"><img width="250" height="350" alt="Daisy Dream Perfume by Marc Jacobs for Women" src="images/isimages/daisydream.jpg"> </a>

    thank you~


    Anybody care to jump in and help me out?

    Thanks~

  5. #5
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Image question

    OK, after hours of working on it, I figured it out.

    All I would like to know now is if I can reduce the white space between images. As close as they are horizontally, I'd like to see that same amount of space vertically.

    Possible?

    I used:

    #indexDefault img {
    padding: 0px;
    border: 1.75px solid #a6a6a6;
    background-color:#feeff2;
    }

    Thank you!

  6. #6
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default Re: Image question

    The issue has been fixed.

  7. #7
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Image question

    hi traytray, sorry only just saw your replies on this. glad you got it sorted.
    Phil Rogers
    A problem shared is a problem solved.

 

 

Similar Threads

  1. Image question
    By Ginger9909 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Feb 2014, 07:58 AM
  2. image question
    By Trees2wood in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 19 Apr 2011, 12:22 AM
  3. image question
    By hottytoddysummer in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Mar 2008, 06:58 PM
  4. Image Question
    By brotherhud in forum General Questions
    Replies: 1
    Last Post: 4 Dec 2006, 05:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR