Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSgallery 2.0 - Simple Image Gallery Plugin (Square It)
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.3 on GSv3b, because I deleted it accidentally some time ago Sad



ahhh btw. did anyone manage to get gsg galleries working with mvlcek's i18 custom fields plugin ?
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - by yojoe - 2011-03-22, 04:15:30



Users browsing this thread: 6 Guest(s)