We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Easy Gallery Module: (BETA)

Development and Programming

rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

I like that I can display just the cover image, but is there a way that I can display everything BUT the cover? I’m trying to work it into a lightbox script where I click on one image (the cover) and then browse through the other images using the lightbox script.

       
rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

Or alternatively is there a way that I can differentiate between the cover image and the others, like a css class name?

       
wiL.Laxa's avatar
wiL.Laxa
69 posts
17 years ago
wiL.Laxa's avatar wiL.Laxa
I like that I can display just the cover image, but is there a way that I can display everything BUT the cover? I’m trying to work it into a lightbox script where I click on one image (the cover) and then browse through the other images using the lightbox script.

I think I could just add another EE Tag like {cover} which would = “Yes” or “No”. I think that’s the most easiest and flexible way to distinguish between it being a cover image or not. I’ll work that on the next update.

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005

This looked very interesting so I gave it a try. Followed everything exactly step by step in the readme and here.

On php5 anyways: Is it supposed to show all images in all blogs when set to entry id? When creating a new entry gallery shows all images for all entries. Limit=”3” throws a mysql error as mentioned earlier in thread. EE recognises none of the tags in entries, img med small etc except timestamp and modified. No images nor paths show on view source. When in Firefox one can delete images and it says image deleted, but they often still show in ie. Now FF shows 2 images I uploaded, ie shows none. So in ie I uploaded another using html and saved it, still shows no images, firefox now has 3…tried uploading in ie using html and flash, ie doesn’t show them now but did earlier…odd.

it’s making the right folders in the images directory and the files are there.

This will be a great addition once done, needed and welcomed.

.

       
wiL.Laxa's avatar
wiL.Laxa
69 posts
17 years ago
wiL.Laxa's avatar wiL.Laxa

This script has been mostly developed on Firefox and EE v1.6 latest build as of this date, hosted on Apache with PHP4 and MySQL . (Will be testing it on IE and maybe Safari if there’s a demand for it.) Answers are in BOLD below.

Thanks, wiL

This looked very interesting so I gave it a try. Followed everything exactly step by step in the readme and here. On php5 anyways: Is it supposed to show all images in all blogs when set to entry id? It is only supposed to show all the images of that weblog Entry not the whole Weblog When creating a new entry gallery shows all images for all entries. I think you are using an older version of the script. That has now been fixed 😊 The newer version on http://laxa.ca/ee_easy_gallery.html has been updated Limit=”3” throws a mysql error as mentioned earlier in thread. I will definitely check this out and fix it asap. EE recognises none of the tags in entries, img med small etc except timestamp and modified. Small, Medium and Large Tags should be loaded, hmmm, can you please clarify? No images nor paths show on view source. HTML and Javascript are being loaded via jQuery to a DIV tag and unfortunately the source code doesn’t update javascript loaded code. You’d have to do an alert() or a [removed]() to display the dynamically loaded code When in Firefox one can delete images and it says image deleted, but they often still show in ie. Now FF shows 2 images I uploaded, ie shows none. So in ie I uploaded another using html and saved it, still shows no images, firefox now has 3…tried uploading in ie using html and flash, ie doesn’t show them now but did earlier…odd. There are some problems with IE when using the UI of Easy Gallery. I’ll try to debug those for the next version. HTML and FLASH upload function exactly the same at the moment. I’m developing the HTML version for the next release. it’s making the right folders in the images directory and the files are there. This will be a great addition once done, needed and welcomed. Thanks, I’m really excited to get this up and polished and have people use this right away.

My answers are in bold, thanks for taking your time in testing it out. :)

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005
When creating a new entry gallery shows all images for all entries. I think you are using an older version of the script. That has now been fixed The newer version on http://laxa.ca/ee_easy_gallery.html has been updated

Since 3pm this afternoon?

EE recognises none of the tags in entries, img med small etc except timestamp and modified. Small, Medium and Large Tags should be loaded, hmmm, can you please clarify?

Using the code in the template as given:

{exp:easy_gallery:images cover="Yes" entry_id="{entry_id}"}


{url_image_large}


<strong>filename:</strong> {filename}

<strong>keywords:</strong>  {keywords}

<strong>caption:</strong>  {caption}

<strong>date_stamp:</strong>  {date_stamp}

<strong>date_modified:</strong>  {date_modified}



<strong>url_image_small:</strong>  {url_image_small}

<strong>url_image_medium:</strong>  {url_image_medium}

<strong>url_image_large:</strong>  {url_image_large}



{/exp:easy_gallery:images}

the result is:

""


<strong>filename:</strong> 

<strong>keywords:</strong>  

<strong>caption:</strong>  

<strong>date_stamp:</strong>  2007-08-21 17:10:39

<strong>date_modified:</strong>  2007-08-21 17:10:39



<strong>url_image_small:</strong>  

<strong>url_image_medium:</strong>  

<strong>url_image_large:</strong>  
No images nor paths show on view source. HTML and Javascript are being loaded via jQuery to a DIV tag and unfortunately the source code doesn’t update javascript loaded code. You’d have to do an alert() or a [removed]() to display the dynamically loaded code

I have no idea what you mean here, sorry :) I see no div tag, I’m very familiar with jquery but see no div tag in docs or code…

Thanks for all your hard work and the vision, this is going to be a winner!

I’ll try it on my php4 server soon as I can as well.

.

.

       
wiL.Laxa's avatar
wiL.Laxa
69 posts
17 years ago
wiL.Laxa's avatar wiL.Laxa

I thought you were referring to the Control Panel…

{exp:easy_gallery:images cover="Yes" entry_id="{entry_id}"}

Make sure you have a Cover selected on that Entry ID



{url_image_large}


<strong>url_image_small:</strong>  {url_image_small}

<strong>url_image_medium:</strong>  {url_image_medium}

<strong>url_image_large:</strong>  {url_image_large}

Make sure you have “recreated” the Small, Medium, Large images in the Control Panel.

Uploading the images does not automatically create the Small, Medium or Large images so they will not automatically appear on the template when they don’t exist.

If all else fails then maybe delete all the images in the Control Panel and reupload them through FireFox and see if anything changes.

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005

Thanks for the quick reply!

ok, In php4 server it’s working in firefox, I had to recreate and make cover using firefox. The gallery images show in ie, but no resize in ie, says object expected when I try. But images show in entry and paths as well now.

In php5 cannot resize in firefox nor ie, so no images show in entry. FF says “Could not resize image”

In php4 and 5 the images only show in the entry now, not in all. .

       
wiL.Laxa's avatar
wiL.Laxa
69 posts
17 years ago
wiL.Laxa's avatar wiL.Laxa
Thanks for the quick reply! ok, In php4 server it’s working in firefox, I had to recreate and make cover using firefox. The gallery images show in ie, but no resize in ie, says object expected when I try. But images show in entry and paths as well now. In php5 cannot resize in firefox nor ie, so no images show in entry. FF says “Could not resize image”

Thanks for the PHP5 feedback. I’ll add it to the main notes.

Seems like a lot more work ahead of me. 😊

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005

It takes a lot of work and time yes, but this one will definitely be worth it. Very well done and an excellent idea. I can see a lot of my clients wanting this, adds a lot to EE. . .

       
wiL.Laxa's avatar
wiL.Laxa
69 posts
17 years ago
wiL.Laxa's avatar wiL.Laxa
It takes a lot of work and time yes, but this one will definitely be worth it. Very well done and an excellent idea. I can see a lot of my clients wanting this, adds a lot to EE. .

Very Glad to hear that. I’m also excited to work on it and make it the best module out there. Unfortunately client’s projects have to be worked on first. :(

       
rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

Been working with Easy Gallery a bit over the past week and thought you might like some feedback.

  • I tried changing the default directory to /images/galleries/ but it continued to upload to /images/easy_gallery/. Thumbnails showed on flash upload but would not show under edit tab or in the template.
  • Flash upload works great.
  • I hate the fact that you have to click on the recreate link before the image versions in the gallery will show up. Recreate is a misleading word, since at the start they haven’t been created yet. Took a little while to realise that. Can you do it server side without the need for user interaction?
  • If I have both portrait and landscape images, the portraits are always too high and the landscapes are too narrow. Easy gallery should calculate which side is bigger to ensure both are given an average size.
  • Edit images tab needs some upgrades
    • No easy way to delete multiple pictures, really slow to click delete and confirm.
    • Move the small, medium and large image settings to a new tab
    • Remove small, medium and large text boxes that show the URL, replace with a caption box.
       
wiL.Laxa's avatar
wiL.Laxa
69 posts
17 years ago
wiL.Laxa's avatar wiL.Laxa
Been working with Easy Gallery a bit over the past week and thought you might like some feedback. - I tried changing the default directory to /images/galleries/ but it continued to upload to /images/easy_gallery/. Thumbnails showed on flash upload but would not show under edit tab or in the template. - Flash upload works great. - I hate the fact that you have to click on the recreate link before the image versions in the gallery will show up. Recreate is a misleading word, since at the start they haven’t been created yet. Took a little while to realise that. Can you do it server side without the need for user interaction? - If I have both portrait and landscape images, the portraits are always too high and the landscapes are too narrow. Easy gallery should calculate which side is bigger to ensure both are given an average size. - Edit images tab needs some upgrades - No easy way to delete multiple pictures, really slow to click delete and confirm. - Move the small, medium and large image settings to a new tab - Remove small, medium and large text boxes that show the URL, replace with a caption box.

Thanks for the feedback, I’m definitely working on it to be more user friendly and hope to start working on it again this weekend.

       
rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

By tab I mean inside the gallery tab like html upload, flash upload and edit images 😊

       
rick.prince's avatar
rick.prince
111 posts
17 years ago
rick.prince's avatar rick.prince

Is there a way that I can do an IF statement so if there is no pictures in the gallery yet, that section of code isn’t shown?

       
First 2 3 4 5 6 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.