WebYep Gallery Image Border?

Is it possible to add a single pixel border to JUST the image in a WebYep Gallery element? I am able to add a border to the text AND the image, but I really only want to add a border to the image alone.

Ideas anyone? Thanks so much.

TB


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’m not following the comment about adding a border to text and image, but a WebYep image object should work the same as a FW graphic object as far as a border is concerned. The inspector Pallet gives the same border choices for both.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks, chuckamuck- sorry for not being more clear. When I add a border in one of the WebYepGallery styles, it adds a border to the image AND to the (optional) caption for the image. It also adds the border for the entire size of the image’s cell, NOT just to the image itself.

TB


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ok, gotcha. Gallery object is generated as a table. So you need to identify the cell of the table that is the image. Take a look at this page in the documentation:

http://www.obdev.at/resources/webyep/documentation/WebYep_Documentation_1.5.0/reference/gallery.html

There is actually a tag for the image portion - .WebYepGalleryImage img


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You need to create a custom style in your style palette just to target the WebYep image like this

.WebYepGalleryImage img {
    border: 1px solid black;
}

WebYep has other selectors available to make your galleries look more attractive like here:

http://www.craggwoodtreecare.co.uk/craggwood-tree-surgeons-photo-gallery-leeds.php

Here the images are centralised vertically and clipped by the surrounding WebYep div

David Owen { Freeway Friendly Web hosting and Domains }

http://www.ineedwebhosting.co.uk | http://www.PrintlineAdvertising.co.uk

On 3 Mar 2011, at 17:52, twb716 wrote:

Thanks, chuckamuck- sorry for not being more clear. When I add a border in one of the WebYepGallery styles, it adds a border to the image AND to the (optional) caption for the image. It also adds the border for the entire size of the image’s cell, NOT just to the image itself.

TB


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options