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

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

NEW BUILD OUT

Official Page: http://laxa.ca/ee_easy_gallery.html

BUILD: 20070819

  • Thumbnails Automatically generated during image uploads.
  • Sorting Images.
  • Enable on certain weblogs only.
  • Fixed IE Compatibility.
  • Updated the jQuery version to the latest version.

TODO:

  • Manage GIF files.
  • Better way to add captions.
  • HTML / Forum Upload.
  • Gallery Categories / Groups.
  • Access other Galleries.

  • Unfortunately I haven’t been able to address the Error with the EE Tags when displaying only 3 images.

I wish I had more time, seems like the best development time happens on Wednesday - Saturday.

Like before, please send your feedback here.

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

Ahhhh I am so sad. The thing that was happening when I first tried it (Sucking in my home page into th space where the gallery stuff is suppose to be in the control panel, and messing up the EE control panel header area (moving things around)).

It’s very odd how my issues are sort of random. First, it’s sucking in things it shouldn’t, second, sometimes it just displayed a blank gallery area. Very weird!

I removed all the TinyMC stuff.. I will try it again on a fresh installation.

(This is in Firefox and IE7)

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

Fresh DB, Fresh copy of EE 1.6, latest build, no modules installed.

  • Screenshot

EDIT: Well this is odd. Now that I put the paths in for the images in the module settings, its working. I’ve done this before, but it had no worked. So who knows whats going on.. I’ll try it on my existing site that i actually want to use it now and see if it works!

EDIT: i tried it on my exisiting site and no luck. Only worked on the fresh install. I remo ved a bunch of modules and what not.

I am debating reinstalling EE for my main site, just to see what’s breaking it. Though I’m not sure if I want to undertake that, just to see if I can trouble shoot this 😛 Atleast it’s still in development

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

So going back to the gallery window suckign in my home page.. it seems if i change the template group that is the main template group for the whole site, it sucks that in as well. So whatever template group is declared as the main template group, the gallery is sucking it into the window as if its an iframe.

Could this have anything to do with a root directory issue?

I have 3-4 sites in one public_html folder. my main site is in that folder, and all other sites are in folders 1 level off the root. The site that is workign correctly with the gallery module is the main site, in the root. The other ones are in their own folders. I just copied the easy gallery into their installation and folder.

i really have no idea waht I’m talking about, just popping up possible ideas.

       
hereward's avatar
hereward
91 posts
17 years ago
hereward's avatar hereward

Hello,

I am going through the process of installing the easy_gallery module. I am up to step 9:

9) Use the “upload_test.html” to test the “jquery/upload.php” script if its fully functioning. (“jquery/upload.php” is most difficult part to get working that’s what I created it in a way where this “upload_test.html” will report to you the problems encountered in running “jquery/upload.php” by editing the “jquery/config.inc.php”)

This is the response i received after using upload_test.html:

Entry ID: 1 Full Filename: sample2_01_large.jpg Full Path: /projects/carsguide/htdocs/images/easy_gallery/1/sample2_01_large.jpg Database Connection: SUCCESSFUL Database Name: DOES EXISTS Database Database: carsguidedev Query failed: Table ‘carsguidedev.exp_easy_gallery_images’ doesn’t exist

I’m not sure what to do now… Am I supposed to manually create the table which is missing? … Or will this happen automatically when i activate the extension?

If i am required to create the table then I will need to know the required structure of the table so I can do that.

Confused (:

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

Thanks Victor.

At the moment I’m refining some of the features on Easy Gallery.

It will include: + GIF support + Ability to use Easy Gallery for Image Management only if you don’t want to show the gallery on the website. * Fixed Pagination Error

PS. This is still a PHP4 Module / Extension, has not yet been tested with PHP5 :(

Please don’t do anything drastic until the final version comes out. I’m definitely focusing my efforts in producing a quality module / extension. I do thank all of you guys for your continued test.

I hope to create a install video so we reduce the amount of missing steps. Also release a fixed TinyMCE extension that doesn’t interfere with Easy Gallery.

Thanks All, wiL

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

My EE says I am using 4.4.7, but my server admin says they have set it up so php4 and php5 are being used, somehow.

Do we think the sucking in of home pages has ANYTHING to do with directory structure? Like I siad, I have 4 sites in my public_html folder, 3 in their own directories.

Perhaps I will just keep installing it on test versions to see if i missed anything or notice something. I was quite excited when it worked on my fresh install. It looks quite good.

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

I may have found the problem for the blank screen issue.

After installing a fresh new copy and the gallery, and it working fine, i took down my main site (which i am still working on) and attempted to re-install EE for that site. I did the exact same things I did with the previous, working installation, EXCEPT.. i changed the system folders name.

When I hit the gallery tab, I get the blank screen area where the text should be. I look at my firefox development toolbar, and it has a JS error, in the jquery.js file.

I don’t know the exact error, but this is what it’s spitting out

GET http://www.mysite.com/system/index.php?P=ext_gallery_images&weblog_id=1&entry;_id=&S=995ef07ec9768c9c60d9621b9d83aac0a12b59a7&C=modules&M=easy_gallery404

There is a reference to the system folder. my folder is not named system. Looks liek it’s tryign to run the extension, and since (i believe) everything in EE is run off that index.php page, jquery thinks that it’s in the system folder. It doesn’t realize that it’s been changed.

EDIT: YES, that is the problem! Holy crap I sorta solved something! i changed my folder back to system, and updated the EE settings, and the gallery works.

So somehow, someone has to figure out where it’s trying to reference the system folder. It says line 11 in the jquery.js file, but that’s just a bunch of gobbly-gook to me!

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

Thanks for the info.

I need to make the jQuery URL and the System URL available on the Settings Form.

I’ve also enhanced the interface so you can browse other galleries, edit captions better, change the order_id as well. It’s really looking good. :D

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

Download the latest version of the Easy Gallery Module: http://laxa.ca/ee_easy_gallery.html

BUILD: 20070922 + Added GIF Support + Added jQuery and System URL under settings + Ability to browse other existing Galleries * Update User Interface * Update Order ID and Captions

Hopefully I was able to address the URL Path issues with “System” and “jQuery” so it fits your custom installation of Expression Engine.

NOTE: * Make sure you Enable the “Module” first before enabling the “Extension” * Make sure you specify the “jQuery URL” and “System URL” path under the module settings. * Make sure you enable which Weblog uses Easy Gallery.

Please send in your comments and feedbacks.

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

Woohooo no more blank screen!

Now I just have to learn how to use it!

Well done sir.

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

Two requests/comments:

1) When you have some time, can you show us some example code of how to use and output the images? I know there is a screen shot on your site, but I unfortunately can’t read the code!

2) edited: When creating a new entry and then uploading new images, Easy gallery doesn’t know what the entry id is of the entry yet, so in the folder structure, it doesn’t put the images in a folder, it just keeps them in the root of easy_gallery images folder. So you pretty much have to make the entry, then edit it, then upload the images. no idea how you would get around that! Flash would need to know the entry ID before you’ve even submitted the entry!

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

This is just a list of oddities I’ve noticed, incase some new people come and try the module out:

1) You have to submit the entry and then edit the entry to upload your images, so easy_gallery knows what entry id to call the folder where the images are stored.

2) The two links “List Images” and “Upload Images” are unavailable when you are on the “Gallery settings” page. This is somewhat of an issue, because when you go to edit an entry, it seems the Gallery Settings/Image settings area is the first dialog area you are given, andt he only way to get out of it is to press the “update image settings” button, which ends up forcing you to assign an active or inactive status. After that, you are able to go to the other sections of easy gallery.

I guess the #2 might be a counter for the #1 issue, for now (When you update image settings, it gets the entry id for the folder where the images will be stored, and your images won’t be stored in the easy_gallery root.

3) if you see that your entries are not showing, it’s because there has been an active/inactive status assigned to that entry. You have to either go into its options and re-assign an open status, or you can go to the status field group, add inactive/active statuses, then add the paramater status=”option|inactive|active” to whatever weblogs you are trying to show the entries in.

After you have done all of that, you can go and edit that specific entry as much as you want without any of the above issues.

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

Oh yeah, even when you go to start a new entry, and go straight to the gallery tab, then hit the gallery settings page, you are stuck on that page. you cant say, go to the options tab, then go back to the gallery tab, you are stuck on the gallery settings section. All it’s missing is the sub navigation “image list/upload/gallery settings” at the top on taht particular page.. then it should be ok!

       
Briggs's avatar
Briggs
111 posts
17 years ago
Briggs's avatar Briggs

Just a few more additions to my above “tips”. SOmetimes assigning an open status wont even work, it stays on inactive or active, and then sometimes it just leaves it at open. It seems very random, or possibly very specific in what steps you do, ie edit, update, submit, image settigs update, etc.

Process: - Submit a new entry, dont touch the gallery tab. Status of entry remains open - Edit that entry, hit the gallery tab. Only options are the gallery settings (no links to image list or upload images) - Pressing “update” results in entry status of “inactive” or “active”, whatever you chose (no real choice, otherwise you can’t access th eother options after editing) - editing the entry status to open does not work, it remains inactive or active

  • instead of pressing update, you press “update image settings” (meaing you have either chosen active or inactive, as you have to choose either or) results in the entry status staying open, and inactive/active being ignored, but atleast your entry status remains open. After this happens, the links re-appear “list images” and “upload images”, and i appear on the upload images page, but if i click “list images” it takes me to the gallery settings.

Also sometimes in list images (the times im actualy able to see it) i cant seem to view my images i’ve uploaded.

Hope this helps!

       
First 5 6 7 8 9 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.