close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Chopped off heads?

Thread began 1/22/2011 2:25 pm by Sally | Last modified 8/25/2011 10:24 am by Sally | 1147 views | 5 replies

Spionred

My have a similar problem. My large image looks fine but the thumb crops each side.

I though it might be a relative size issue so I resized the tumbs so the large image is 600x450 and the thumbs are 175x131 and changed the code based on what you suggested above to:

//process gallery
$gallery = get_gallery(get_mediarss_url('gallery=' . $pg_id . '&thumb=175p&full=600p'));
?>
.
.
.
.
<div class="thumbs" style="text-align:center;">
<?php if(sizeof($gallery['images']) <= 0) { ?>
<div class="no-images">no images</div>
<?php } ?>
<?php
$random = rand(0, 10000);
for($i = 0; $i < sizeof($gallery['images']); $i++) {
echo '<a href="' . $gallery['images'][$i]['fullsize']['url'] . '" rel="lightbox-pg' . $random . '" name="<strong>' . str_replace('"', '\"', $gallery['images'][$i]['title']) . (strlen($gallery['images'][$i]['title']) > 0 ? ':' : '') . '</strong> ' . str_replace('"', '\"', $gallery['images'][$i]['description']) . '"><img alt="" title="' . $i . '##' . str_replace('"', '\"', $gallery['images'][$i]['title']) . '##' . str_replace('"', '\"', $gallery['images'][$i]['description']) . '" src="' . $gallery['images'][$i]['thumb']['url'] . '" width="175px" height="131px" alt="test" /></a>';
}
?>
</div>



now the thumb wont show at all.

if you go to footware.php you will see what's happening.

Any help would be very much appreciated.

Cheers,
Kevin.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...