Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSgallery 2.0 - Simple Image Gallery Plugin (Square It)
yojoe Wrote:The only way to see the thumbs for me is to rely on the GS thumbs auto creation function upon upload, and change the code
Code:
$gal .= '<a href="'.$SITEURL.'data/uploads/'.  $image['image'] .'" title="'. htmlspecialchars($image['caption'])  .'" '.$reltype.$styleclass.'><img alt="'.htmlspecialchars($image['caption']).'" src="'.$SITEURL.'admin/inc/thumb.php?src='.  $image['image'] .'&dest=../../'.GSG_RELFOLDERPATH.'thumbs/thumbmed.'.  $image['image'] .'&x=125&y=125&f=1" class="sqr_img" /></a>';
to
Code:
$gal .= '<a href="'.$SITEURL.'data/uploads/'.  $image['image'] .'" title="'. htmlspecialchars($image['caption'])  .'" '.$reltype.$styleclass.'><img alt="'.htmlspecialchars($image['caption']).'" src="'.$SITEURL.'data/thumbs/thumbsm.'.  $image['image'] .'" class="sqr_img" /></a>';
Otherwise I get links like
Code:
src="http://website/admin/inc/thumb.php?src=uploaded-image.jpg&dest=../../plugins/squareit-gallery/thumbs/thumbmed.uploaded-image.jpg&x=125&y=125&f=1
which just don't work. This code should firstly call thumb.php from /admin/inc and then output html code in my opinion.
I mentioned this problem, but now wonder what is wrong. Unfortunately I can't compare gsg 2.0 on GS2.3.1 with gsg 2.5.2 on GSv3b, because I deleted it accidentally some time ago Sad

Sorry I don't know what you mean, but I should have said that I use 3.0 Beta r3.73 + GSG v2.5.2 at the moment. ...Or is it r3.77? How can I see this?
Reply


Messages In This Thread
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - by datiswous - 2011-03-22, 04:27:53



Users browsing this thread: 2 Guest(s)