GX2 now includes a handy Image Tab for the Publish/Edit page in the CP to allow for easy image uploads and automatic Entry assigning!
Can’t find it! I’ve just installed the module but when I go to create a new entry or edit an existing one, I can’t see the Image Tab. Do I have to do anything prior to using the module for it to appear?
I swear I got to the Extension Manager and saw the GX Extension, but didn’t spot the Settings button. >_<
Here comes the problems. LOL
I can only assign 1 gallery with the Image Tab on the Edit page. I have 2 platforms (PSP and PS3) and that means I need two different Galleries so I can separate the settings (PSP screens should be resized to 480px wide, PS3 screens to 1280px wide for example). I guess I would have to create 2 Game weblogs, one for the PSP platform so I can assign the PSP gallery to that weblog, and the same with PS3. That’s a quick solution to get out of the way.
Second and most important problem is file organisation. Following from the first problem, I would have two Galleries (PSP and PS3) and would classify the screenshots of each game by Categories within each Gallery. The problem with this is that I can’t seem to “assign a folder to a Category”, so I am going to end up with hundreds of screenshots of different games all loose in one folder which is related to the parent Gallery. I was aiming to have a folder for each game, like for example /uploads/images/ps3/call_of_duty_4/ but I don’t think I can, and I can’t find any temporal solution to this.
I’m not sure if anything of what I wrote makes sense though. It’s 2:30 am (Spain) and i’m falling asleep on my keyboard. LOL
PS: On another side, I love the Batch Process thingy. It saves me inserting Gallery Entries one by one although I still have to use FTP, it’s half of what I was looking for in the first place.
I can only assign 1 gallery with the Image Tab on the Edit page. I have 2 platforms (PSP and PS3) and that means I need two different Galleries so I can separate the settings (PSP screens should be resized to 480px wide, PS3 screens to 1280px wide for example). I guess I would have to create 2 Game weblogs, one for the PSP platform so I can assign the PSP gallery to that weblog, and the same with PS3. That’s a quick solution to get out of the way.
Yes, unfortunately that looks like your only option at this point.
Kevin Selles - 21 May 2008 06:32 PM
Second and most important problem is file organisation. Following from the first problem, I would have two Galleries (PSP and PS3) and would classify the screenshots of each game by Categories within each Gallery. The problem with this is that I can’t seem to “assign a folder to a Category”, so I am going to end up with hundreds of screenshots of different games all loose in one folder which is related to the parent Gallery. I was aiming to have a folder for each game, like for example /uploads/images/ps3/call_of_duty_4/ but I don’t think I can, and I can’t find any temporal solution to this.
Unfortunately, there isn’t really a way around this. I suppose you could do a lot of work by manually sorting them once they’re uploaded, and have the file directory path for each pulled manually as well. You could base this on the URL Title of the weblog entry to have the directories match, etc.
Unfortunately, there isn’t really a way around this. I suppose you could do a lot of work by manually sorting them once they’re uploaded, and have the file directory path for each pulled manually as well. You could base this on the URL Title of the weblog entry to have the directories match, etc.
Uhm, this reminds me of two years ago, when we first used WordPress and we had the same problem. I used to resize, rename and upload manually the screenshots into folders that matched names with the entry slug. Huge pain in the ass…
But, if I move the images to another folder then the Gallery module won’t know where the hell they are located, no? I actually would end up doing everything manually again. :S
*sigh*
Do you guys do custom work? I’d like to know how much it would cost to develope a final solution for my project needs.
Edit: OK, someone shoot me. I just found this:
Category Folder
If you would like all images in this category to be placed in a folder, please submit the name you would like used. The folder will be created automatically.
I guess I didn’t see it last night, my eyes were half closed. Now I feel embarrased. hahaha
Downside is, if I write a name like for example, Call of Duty 4: Modern Warfare, then the actual folder would have the same name, instead of being sanitized to call_of_duty_4_modern_warfare, but this is a “problem” of ExpressionEngine’s module. I’m gonna have to write the folder name sanitized myself. Maybe I’m just too picky.
Category Folder
If you would like all images in this category to be placed in a folder, please submit the name you would like used. The folder will be created automatically.
I guess I didn’t see it last night, my eyes were half closed. Now I feel embarrased. hahaha
Hahaha… I feel twice as embarassed!
I’ve never noticed that before… well, I’ve noticed it, never just clicked into my brain
Is it possible to orderby="random" when using the {exp:gallery_extended:entries} tag? If not, is there a way to display a random screenshot or should I post this in the feature request thingy for future versions?
On a side note, I’ve managed to create a neat workflow for when dealing with screenshots. Now it takes me less then a minute to add a bunch of shots and relate them to a game. Some examples here and here. I’m starting to love GX module and EE more everyday.
Isn’t there a paginate option for when using the {exp:gallery_extended:entries} tag? Or that, or a way to be able to link to the category view of the related entries being displayed.
Below it says “Ver todas las imágenes »” which is a link that I want to use to take the user to here.
/gallery/category/C2/
The problem is, I can’t find a way to creat this link in a dynamic way. I can’t pull the category ID from the {exp:gallery_extended:entries} tag or anything. Maybe I’m just missing something, I’m not really a code junkie. I’m more of a CSS and XHTML guy.
I personally think that the {exp:gallery_extended:entries} tag parameters need improvement.
Unfortunately, pagination is not yet available. It’s on the list for the next version though
As for Dynamically creating a Category link, it appears the Category ID and Category Name variables are not yet available. I’ll definately get these on the list
In the meantime, perhaps use a custom field in your weblog entry?
Uhm… it looks like something’s wrong. I added orderby="random" to the tag and this came up.
MySQL ERROR:
Error Number: 1054
Description: Unknown column 'g.random' in 'order clause'
Query: SELECT g.entry_id AS gallery_entry_id, g.*, m.* FROM exp_gallery_entries AS g LEFT JOIN exp_members AS m ON m.member_id = g.author_id WHERE g.entry_id != '' AND g.gx_related_id = '425' ORDER BY g.random DESC LIMIT 0,4
Just in case, I’m using:
GX Module 2.1.0
EE 1.6.3
Build: 20080421
MySQL version 5.0.45-community
PHP version 5.2.5
I apologize… I get this error as well. I’ll get this on the list to get fixed.
In the meantime, here’s a workaround:
In mod.gallery_extended.php, around line 241, change this:
// ------------------------------------------- // Order by // -------------------------------------------
if ( $TMPL->fetch_param('orderby') != "" ) { $sql .= " ORDER BY g.".$TMPL->fetch_param('orderby'); } else { $sql .= " ORDER BY g.entry_date"; }
To this:
// ------------------------------------------- // Order by // -------------------------------------------
if ( $TMPL->fetch_param('orderby') != "" ) { $sql .= " ORDER BY g.".$TMPL->fetch_param('orderby'); } else { $sql .= " ORDER BY rand()"; }
It’s not a pretty workaround, but basically, what happens is if you DON’T specify the orderby="” parameter, it will randomize your entries. in any other event, just make sure you specify the orderby="” parameter.
I understand. It’s not that urgent as for me to modify the core of the module, so I think I’ll just wait for a future version. My main concern was to link to the Category view of the related images.
It’s been a long wait, but I appreciate your patience
orderby="random" is now a valid parameter value
{category} and {category_id} variables are now both available in the latest release of Gallery Extended 2.2.0:
It’s been a long wait, but I appreciate your patience
orderby="random" is now a valid parameter value
{category} and {category_id} variables are now both available in the latest release of Gallery Extended 2.2.0: