How do I find my Album ID

joeywashburn

Joined: 2009-03-12
Posts: 6
Posted: Thu, 2009-03-12 20:32

I am trying to pull random images from a specfic album, but i cant figure out what my album ids are. If I leave it blank it pulls from all albums so I know its working at least in part.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2009-03-12 23:30

disable the url rewrite module and browse to the album in question, the Id will be in the url.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
trisklbr

Joined: 2009-12-29
Posts: 6
Posted: Tue, 2009-12-29 18:42

When I deactivate my URL Rewrite Module, I get 404 errors when attempting to click on any of the album links...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-12-29 19:01

Clear your cache (in your browser and gallery):
FAQ: How can I clear cached data?

Then refresh the page

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
trisklbr

Joined: 2009-12-29
Posts: 6
Posted: Wed, 2009-12-30 13:27

Doh!

I'll give it a try! Thanks!

 
trisklbr

Joined: 2009-12-29
Posts: 6
Posted: Wed, 2009-12-30 13:51

OK. That clreared the issue I was having, and now I see a number in my URL:

http://mysite/home/gallery3?g2_itemId=216

but when I use the number in the "Album od Item ID" field, the block doesn't come up. An empty field gives me the "Whole Gallery Random" thing, so that part's working. Is the format for the ID just the number?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-12-30 21:17

No clue, I prefer suprsidr's mediablock:
http://www.flashyourweb.com/staticpages/index.php?page=mediaBlock

That may get you going better.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
trisklbr

Joined: 2009-12-29
Posts: 6
Posted: Thu, 2009-12-31 12:40

Hmm. I'll look at it... bu5 already having the one block installed & working, only needing to know how to input the ID... You see where I'm going with this...

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-12-31 13:39
Quote:
http://mysite/home/gallery3?g2_itemId=216

Is this a gallery3 question?
not the same as gallery2.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
trisklbr

Joined: 2009-12-29
Posts: 6
Posted: Thu, 2009-12-31 15:56

Good question. It's still Gallery2. The gallery3 path is some kind of artifact of the Drupal embedded Gallery module...

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2009-12-31 17:20

In gallery2 you don't need to disable rewrite to gleam the itemId - its present in the edit url as well.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
trisklbr

Joined: 2009-12-29
Posts: 6
Posted: Thu, 2009-12-31 20:37

Doh!

I never even looked there! I still can't figure out the formatting to get the Drupal Image-Block to accept it, though.