1 of 2
1
Can’t find Image tab
Posted: 21 May 2008 05:12 PM   [ Ignore ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

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?

Thanks in advance.

Profile
 
 
Posted: 21 May 2008 05:22 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Kevin,

Hop into the Extension Manager, click the Settings for the GX Extension, set the Gallery information, and Submit smile

 Signature 
Profile
 
 
Posted: 21 May 2008 06:32 PM   [ Ignore ]   [ # 2 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

Nice, many thanks.

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.

Profile
 
 
Posted: 21 May 2008 06:40 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18
Kevin Selles - 21 May 2008 06:32 PM

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. smile

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. smile

 Signature 
Profile
 
 
Posted: 22 May 2008 01:31 AM   [ Ignore ]   [ # 4 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16
Pie Man - 21 May 2008 06:40 PM

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. smile

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.  LOL

*goes back to work*

Profile
 
 
Posted: 22 May 2008 05:59 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18
Kevin Selles - 22 May 2008 01:31 AM

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

Hahaha… I feel twice as embarassed! LOL rasberry
I’ve never noticed that before… well, I’ve noticed it, never just clicked into my brain rasberry

Well that’s that I guess LOL

 Signature 
Profile
 
 
Posted: 23 May 2008 03:08 PM   [ Ignore ]   [ # 6 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

I’ll recycle my own thread for my stuff. xD

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.

Profile
 
 
Posted: 25 May 2008 06:55 PM   [ Ignore ]   [ # 7 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

Also…

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.

This is the code I’m using to display the screenshots on the game page.

{exp:gallery_extended:entries limit="4" related_id="{entry_id}" orderby="entry_date" sort="desc" dynamic="off" disable="member_fields|date_fields"}

{
/exp:gallery_extended:entries}

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.  LOL

I personally think that the {exp:gallery_extended:entries} tag parameters need improvement.  oh oh

Profile
 
 
Posted: 26 May 2008 06:33 AM   [ Ignore ]   [ # 8 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Kevin,

To display your entries by Random, use this code:

orderby="random"

Unfortunately, pagination is not yet available. It’s on the list for the next version though smile

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 smile
In the meantime, perhaps use a custom field in your weblog entry? smile

 Signature 
Profile
 
 
Posted: 26 May 2008 06:38 AM   [ Ignore ]   [ # 9 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

Nicely thought, didn’t think of that. I’m always looking for ways to shorten the workflow. xD

And about the orderby thing, I just didn’t see it in the documentation so I thought it wasn’t available.

Thanks!

Profile
 
 
Posted: 26 May 2008 06:47 AM   [ Ignore ]   [ # 10 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Sorry Kevin… I’ve updated the Documentation smile

 Signature 
Profile
 
 
Posted: 26 May 2008 07:02 AM   [ Ignore ]   [ # 11 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

Uhm… it looks like something’s wrong. I added orderby="random" to the tag and this came up.

MySQL ERROR:

Error Number1054

Description
Unknown column 'g.random' in 'order clause'

QuerySELECT g.entry_id AS gallery_entry_idg.*, 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

Profile
 
 
Posted: 26 May 2008 07:22 AM   [ Ignore ]   [ # 12 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Kevin,

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. smile

 Signature 
Profile
 
 
Posted: 26 May 2008 07:30 AM   [ Ignore ]   [ # 13 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16

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.

Thanks anyway. ^_^

Profile
 
 
Posted: 27 October 2008 10:26 PM   [ Ignore ]   [ # 14 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3356
Joined  2006-10-18

Hi Kevin,

It’s been a long wait, but I appreciate your patience smile

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:

http://www.solspace.com/forums/viewthread/650/

 Signature 
Profile
 
 
Posted: 27 October 2008 10:31 PM   [ Ignore ]   [ # 15 ]
Jr. Member
Avatar
RankRank
Total Posts:  43
Joined  2008-05-16
Pie Man - 27 October 2008 10:26 PM

Hi Kevin,

It’s been a long wait, but I appreciate your patience smile

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:

http://www.solspace.com/forums/viewthread/650/

I was just reading all the new features… and I’m so happy! hahaha

This week I’m gonna get back to work with the gallery section of our site and make some serious improvements with this new version of the module.

Thank you Solspace. You guys rock!  LOL

Profile
 
 
   
1 of 2
1