Hi,
I am facing a problem on creating photo gallery.
<cms:editable
name="gg_image"
label="Image"
desc="Upload your main image here"
width="500"
show_preview='1'
preview_height='200'
type="image"
/>
<cms:editable
name="gg_thumb"
assoc_field="gg_image"
label="Image Thumbnail"
desc="Thumbnail of image above"
enforce_max='1'
type="thumbnail"
/>
I pasted the code above, but for the thumbnail part, I have deleted width and height. If I set the width and height, my photo gallery won't be responsive anymore. If I set the width and height more than 115px, the admin panel's preview thumbnail image will be cropped.
ex, if I set width and height 115px, at the admin panel, I can see a perfect full picture of preview image. But the front-end thumbnail image also will be cropped to exact 115px, it does not suit for responsive design. Even if I set the image to fit 100%, the image will be enlarged to fit the space, image become really blur.
If I set 480px, the preview image in admin panel will be cropped. But the front-end thumbnail image fit for responsive layout.
I want to view a full picture of preview thumbnail image and get the image fit for front-end responsive thumbnail. Any solution for this?
I am facing a problem on creating photo gallery.
<cms:editable
name="gg_image"
label="Image"
desc="Upload your main image here"
width="500"
show_preview='1'
preview_height='200'
type="image"
/>
<cms:editable
name="gg_thumb"
assoc_field="gg_image"
label="Image Thumbnail"
desc="Thumbnail of image above"
enforce_max='1'
type="thumbnail"
/>
I pasted the code above, but for the thumbnail part, I have deleted width and height. If I set the width and height, my photo gallery won't be responsive anymore. If I set the width and height more than 115px, the admin panel's preview thumbnail image will be cropped.
ex, if I set width and height 115px, at the admin panel, I can see a perfect full picture of preview image. But the front-end thumbnail image also will be cropped to exact 115px, it does not suit for responsive design. Even if I set the image to fit 100%, the image will be enlarged to fit the space, image become really blur.
If I set 480px, the preview image in admin panel will be cropped. But the front-end thumbnail image fit for responsive layout.
I want to view a full picture of preview thumbnail image and get the image fit for front-end responsive thumbnail. Any solution for this?