About the medium image: when i use flas/html upload it does not create the medium image. Only when i press the “Recreate MEDIUM Images” P.S. A suggestion: Maybe instead of “image_m.jpg” maybe little more better to make it “image_medium.jpg”
Yes, you have to click on “Recreate ‘SIZE’ Image” to create the images for Small, Medium or Large Images.
Currently Flash = HTML, I’m haven’t coded the plain HTML version of the Upload, I might add options to automatically create Small, Medium or Large images on upload but it might take a long time to process photos. (have to think…)
Sure we can make filenames more descriptive. Is there a 32 Character filename limit on *Nix?
UPDATE:
In file mcp.easy_gallery.php on line 664. Please update…
$results = $DB->query("SELECT * FROM exp_easy_gallery_images");
TO
$results = $DB->query('SELECT * FROM exp_easy_gallery_images WHERE entry_id="'.$entry_id.'"');
I’ve also updated the existing Sample code on the README.TXT with this.
Another one: when i go to a template:but the template renders fineWarning: Division by zero in /home/raine/public_html/trulyhardware/system/modules/easy_gallery/mod.easy_gallery.php on line 155
Updated the mod.easy_gallery.php
ADDED on line 156
# Avoid divide by zero
if ($total_result > 0) {
$variables['page_total'] = ceil($total_result / $limit);
} else {
$variables['page_total'] = 0;
}
AFTER
$totals = $DB->query($sql_query);
$total_result = count($totals->result);
Aside of the warnings it works just fine heh Btw: Where can i set keywords ? {keywords} - what can i use it for? When press the caption link..a thing pops up to enter the caption (good, love the ajax) but i cannot see the current caption on the image.
My system seems to hide ALL Warnings, hmmm… I’ll have to configure my system to show all Warnings.
Keywords are supposed to be tags for HTML Metadata. No real use for it right now, could be in the future.
There’s no way to view caption right now, I’ll create a Hover or something to make it show the Keywords and Caption field. I just want the Image UI look pretty without irregular image box sizes. 😛
Still getting the error:Warning: Division by zero in /home/raine/public_html/trulyhardware/system/modules/easy_gallery/mod.easy_gallery.php on line 159
I wish I can replicate all your errors so I can do some tests. Anyways, try this instead… Updated the mod.easy_gallery.php
ADDED on line 156
# Avoid divide by zero
if ($total_result > 0) {
$variables['page_total'] = ceil($total_result / $limit);
} else {
$variables['page_total'] = 0;
}
AFTER
$totals = $DB->query($sql_query);
$total_result = count($totals->result);
Latest Build up at the Laxa Inc. Website http://laxa.ca/ee_easy_gallery.html
BUILD CHANGE LOG
This file contains information regarding each build that is released. A “build” is a small update that fixes bugs found within a particular version. For a full list of features in Easy Gallery please visit the main change at: http://laxa.ca/ee_home.html and discussion thread at: http://ellislab.com/forums/viewthread/58393/
BUILD: 20070819
ext.easy_gallery.php * Fixed Clashing Publish / Edit Tabs, Blocks and Header data
mod.easy_gallery.php * Fixed “Divide By Zero” Warning when using EE Tags on templates
mcp.easy_gallery.php * Fixed show only images for the current weblog entry (entry_id)
I’ve got it all installed and configured - but how do I use it? I see no new tab when I try and publish an entry. And I couldn’t seem to find a setting under the weblog publish page configuration.
Have you enabled the extensions as well?
There are settings also under “Modules > Easy Galler > Settings” for Files URL and Files Path.
10) Enable the “Easy Gallery Extension” on the “Admin > Utilities > Extension” and the “Easy Gallery Module” on the “Modules > Easy Gallery” 11) Configure the “Files URL” and “Files Path” and any other settings of the Easy Gallery by going to “Modules > Easy Gallery > Settings”
I think those are the missing steps, then you should be able to “Publish” or “Edit” an entry and see the new TAB called “Gallery”, then you can click on “Flash Upload” to start uploading your images.
Hope that helps.
HMMM… I wish there was a place where people could engage in Instant Messaging without the need to add to MSN or YM like live help.
HMMM… I also wish I had a video application where I can video step by step installation of this script, made video tutorials. hmmmm
Yep that was my own silly fault. Missed that extension installation. Only now I see the tab but a blank space (div actually) where I’m gussing the “flash upload” button should be. I’ve double checked my paths and everything seems fine.
I’m using latest version of firefox. Doesn’t seem to be a display issue, it just doesn’t seem to be loading.
Yep that was my own silly fault. Missed that extension installation. Only now I see the tab but a blank space (div actually) where I’m gussing the “flash upload” button should be. I’ve double checked my paths and everything seems fine. I’m using latest version of firefox. Doesn’t seem to be a display issue, it just doesn’t seem to be loading.
Sounds like “jQuery” is not being loaded. Please make sure that you…
1) Copy “images/easy_gallery/” directory to “images/” directory 8) Configure the “jquery/config.inc.php”, add your database settings of the EE installation. (this is for uploading images via flash) I tried to use the module functions but apparently I can’t send the session variable properly from FLASH to the Easy Gallery Module. Spent a day and gave up. 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”)
Make sure that “jQuery” is located on your http://domain.com/jquery/ URL.
And if you can get http://domain.com/upload_test.html to work then that should solve your problem.
Hope that helps.
And if you can get http://domain.com/upload_test.html to work then that should solve your problem.
Upload test is working fine and dandy. Image uploaded and thumbnails created - still didn’t resolve the issue until I started disabling extensions. Tiny MCE Extension for EE (v.1.0.0) seems to be the culprit. I’ve since disabled and Easy Gallery is now showing.
And if you can get http://domain.com/upload_test.html to work then that should solve your problem.Upload test is working fine and dandy. Image uploaded and thumbnails created - still didn’t resolve the issue until I started disabling extensions. Tiny MCE Extension for EE (v.1.0.0) seems to be the culprit. I’ve since disabled and Easy Gallery is now showing.
Found a fix!
Unfortunately the TinyMCE extension was missing a piece of code that allowed it to coexist with other extensions that uses the same hook. Similar the conflict of codes I had with the “TAB” hook with the Better META Extension.
You have to open up the ext.tiny_mce.php and replace the function add_header() with the code below. I just added the $EXT->last_call and the global $EXT and some other code.
ext.tiny_mce.php (add_header() function) <pre><code> // ——————————- // Add JavaScript Header // ——————————-
function add_header()
{
global $PREFS, $EXT;
$settings_parts = implode("\n\t\t", preg_split("/(\r\n|\n|\r)/", trim($this->settings['configuration'])));
$r = '
settings[‘script_url’]).’”>
//<![CDATA[ tinyMCE.init( { ‘. $settings_parts. ’ } ); //]]>
’;
if($EXT->last_call){
return $r . $EXT->last_call;
} else {
return $r;
}
return $r;
}
// END[/code]
Save and reload the page and it should work.
Hope that helps. 😉
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.