Post by fido-x » Wed Jul 27, 2011 12:03 pm

Add an image gallery to your website. Provides multiple galleries and sub-galleries.

Simple plug and play installation, with nothing overwritten.

Full installation instructions included.

Compatible with all current 1.5.1.x releases of OpenCart.

Get it here

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by webpie it. » Wed Jul 27, 2011 1:17 pm

Fido thank you very much for contributing this to the community, your effort and time here is so very much appreciated! and also your constant support of the forums as always see your name dotted around on new posts answering questions etc.. not everyone here are so grateful but i think i speak for most, so thanks mate, as you have helped me on older posts indirectly you have answered for other pppl, when i first came here last october!

Cheers Mate

Regards

Chris


Active Member

Posts

Joined
Mon Jan 31, 2011 7:28 pm

Post by fido-x » Wed Jul 27, 2011 1:25 pm

Thanks for the comments. Appreciated.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by cpuricelli » Fri Aug 26, 2011 9:13 pm

I am trying this component and found it really useful...

Is there any way to add comments on each photo?

Newbie

Posts

Joined
Tue Aug 09, 2011 8:56 pm

Post by fido-x » Sat Aug 27, 2011 11:23 am

Updated to include support for SEO URLs.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by cpuricelli » Sat Aug 27, 2011 4:37 pm

cpuricelli wrote:I am trying this component and found it really useful...

Is there any way to add comments on each photo?
Hello fido-x I worked on a solution for this and modified the component to add comments on images...

First of all create a table for image descriptions:

Code: Select all

CREATE TABLE IF NOT EXISTS `gallery_image_description` (
  `id` int(11) NOT NULL auto_increment,
  `gallery_image_id` int(11) NOT NULL,
  `language_id` int(11) NOT NULL,
  `description` varchar(255) collate utf8_bin NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=1;

Then I modified the model on catalog side, adding this method:

Code: Select all

public function getGalleryImagesAndDescription($gallery_id, $start = 0, $limit = 20) {
	$sql = "SELECT * FROM " . DB_PREFIX . "gallery_image gi JOIN " . DB_PREFIX . "gallery_image_description gid ON (gi.gallery_image_id = gid.gallery_image_id AND gid.language_id = '" . (int)$this->config->get('config_language_id') . "' AND gi.gallery_id = '" . (int)$gallery_id . "') ORDER BY gi.gallery_image_id";
	$sql .= " LIMIT " . (int)$start . "," . (int)$limit;
	$query = $this->db->query($sql);
	return $query->rows;
}
Then in rows 117 and 218 of the controller I changed the call to the new method getGalleryImagesAndDescription
and in both foreach I changed:
$image_title = ucwords(str_replace('_', ' ', $image_name[0]));
to:
$image_title = $result['description'];

and that's it! Any suggestion? Now I'll try to add this feature on Admin side as well...

Newbie

Posts

Joined
Tue Aug 09, 2011 8:56 pm

Post by magnify3 » Tue Sep 13, 2011 9:01 am

I installed the gallery and I keep getting this notice at the top of the gallery page. "Notice: Undefined offset: 1 in /home/babyd123/public_html/store/catalog/controller/gallery/gallery.php on line 227"

http://babydollaccessories.net/store/in ... ry&album=1

Newbie

Posts

Joined
Tue Sep 13, 2011 5:31 am

Post by terrier » Sat Sep 17, 2011 5:18 pm

Hi Fido,

Thanks for this wonderful module. I have tested it works great on default template but not on custom template.

After I click on the gallery (custom template), instead of showing the gallery page but it merge my banner, latest module with the gallery under them.

any advice? http://juzkars.com/store/index.php?rout ... ry/gallery

New member

Posts

Joined
Wed Aug 31, 2011 7:05 pm

Post by vladis » Tue Oct 04, 2011 6:01 am

Hi, can you reupload this please ?

New member

Posts

Joined
Tue Oct 04, 2011 5:31 am
Location - Slovakia

Post by Pamella » Tue Nov 01, 2011 3:26 am

It seems thumbnail isn't displayed (first time, but it's uploaded in fact... and! so we can see it after save)

any idea to fix this issue? thank you ;-) in advance

using v1.5.1.3.1

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by charlock » Tue Jan 10, 2012 2:50 am

Hi - I'm having the same issue as Pamella - any ideas how to fix it? appreciate any help you can offer :)

Newbie

Posts

Joined
Wed Dec 21, 2011 4:28 pm

Post by fido-x » Thu Jan 12, 2012 7:36 pm

@Pamela and charlock
Image uploading in the admin was changed between versions 1.5.1.2 and 1.5.1.3. The version of the module you are using is not compatible with 1.5.1.3. You'll need to get the updated version: Gallery 1513.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by polgrig » Fri Jan 20, 2012 8:53 pm

magnify3 wrote:I installed the gallery and I keep getting this notice at the top of the gallery page. "Notice: Undefined offset: 1 in /home/babyd123/public_html/store/catalog/controller/gallery/gallery.php on line 227"

http://babydollaccessories.net/store/in ... ry&album=1
Yes, I have the same problem. Is there a solution?

Newbie

Posts

Joined
Mon Jan 16, 2012 7:48 pm

Post by fido-x » Fri Jan 20, 2012 9:11 pm

polgrig wrote:
magnify3 wrote:I installed the gallery and I keep getting this notice at the top of the gallery page. "Notice: Undefined offset: 1 in /home/babyd123/public_html/store/catalog/controller/gallery/gallery.php on line 227"

http://babydollaccessories.net/store/in ... ry&album=1
Yes, I have the same problem. Is there a solution?
You're both getting this error because you haven't given your gallery a main image.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Xciso » Fri Feb 17, 2012 8:34 pm

If i use this "Gallery 1513" will it be problem if i update to the next comming version?

Active Member

Posts

Joined
Fri Jul 15, 2011 5:20 am

Post by legend717 » Fri Jun 22, 2012 4:56 pm

The module has an error. Unable to create a gallery

Code: Select all

Notice: Error: Unknown column 'copyright' in 'field list'
Error No: 1054
INSERT INTO oc_gallery SET album_id = '0', copyright = 'you', status = '0', sort_order = '0', date_added = NOW() in

Code: Select all

Notice: Error: Unknown column 'sort_order' in 'order clause'
Error No: 1054
SELECT * FROM oc_gallery_image WHERE gallery_id = '1' ORDER BY sort_order LIMIT 0,6 in

User avatar
New member

Posts

Joined
Tue Sep 21, 2010 2:57 pm
Who is online

Users browsing this forum: No registered users and 31 guests