Forum
Welcome, Guest

How do I disable the caption?
(1 viewing) (1) Guest
Ask all your support questions for SOBI2 JView Gallery Plugin here.
  • Page:
  • 1

TOPIC: How do I disable the caption?

How do I disable the caption? 1 year, 6 months ago #1852

I want to be able to disable the caption - is there a way to do so?

Re: How do I disable the caption? 1 year, 6 months ago #1862

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
You could modify the CSS to set the image display div to display none. The ID is jviewCaption. In the member jview.css (around line 50) there is a css entry for #jviewCaption. Just add "display:none;" (without the quotes) between the curly braces ( {...} ).

I apologize for not getting back to you sooner.

Jerry

Re: How do I disable the caption? 1 year, 6 months ago #1879

Speaking of Captions, I also am having a problem with caption, that is how can i get the caption box to match the width of the main image, see attached image I have tried changing the CSS #jviewCaption but nothing helps according to Firebug it is dymically created any advice much appreciated.
1 other question how do i get thumbnails the same, I set the the thumbnail dimensions in the confguration page but the thumbnails that are created are differently sized according to the original Photo which makes the final display hard to attractively style.
[attachment:1]Oversized_Caption.jpg[/attachment]
Last Edit: 1 year, 6 months ago by petergoeswest.

Re: How do I disable the caption? 1 year, 6 months ago #1880

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
If use !important in your css declaration ( width: 200px !important; ), it should override the inline style. The reason that width is set inline is because it is computed as the width of the large image container minus 20px.

The thumbnail images are scaled according to the size of the original image and the specified size. If you set the thumbnail width and height to the same (100x100, 200x200, etc.) the thumbnail containers will all be the same size and the image will be scaled to the so that the longest side matches the specified size. That keeps the images from being distorted.

The image you included doesn't show. Do you have a link I could see? You could PM it to me if you don't want to post it.

Also, which browser are you using?

Jerry
  • Page:
  • 1
Time to create page: 0.51 seconds

Login