Can anyone help me fix this galleria view.css?

Permalink
I already fixed it once and I accidentally saved the wrong css and overrode it. I have no idea how I did it, but I remember it took me about 5 hours to figure out.

See this?http://php.22graphics.com/index.php/print/collateral-eye-5/...

I want the thumbnails of the gallery FLUSH LEFT not centered.

I used Firebug. I can not find a damn thing to change that. Excuse the d-word, I am ready to jump out a window.

I would also like to use CSS to simply hide the descriptions (display:none doesn't seem to be working). Most importantly, though, I just want to force those stinkin' thumbnails to the LEFT!!

 
zoinks replied on at Permalink Reply
ARGH!

Okay, so, #$&*! the view.php file had inline style elements in a div tag.

view.php files must be put in root/packages/packageName ?!?!

Why not in yourTheme/packages/packageName like the view.css?
dancer replied on at Permalink Reply
dancer
Hey,

I am very new to this as well and I have asked so many questions I thought it maybe time to give back a little.

I have just been doing what you have been upto today.
It would seem that you have fixed the left issue. But, Let's take everything one step at a time.

So you currently have your galleria in the packages folder yeah? if you go to:
asmiller_gallery/templates and duplicate the default folder and name it what you want (I take a duplicate so you always have the original to fall back on).

You are right about the inline style to adjust.

Now to remove the decription I fixed the height of the image area in the css:
.asmillerGalleryBlock
&
.asmillerGalleryBlock li img.asmillerGalleria_thumb

Then I went into the view.php and deleted:
echo $imgInfo['description'];
&
,asmillerGalleria_caption
&
asmillerGalleria_caption.css('display','none').fadeIn(2000);
&
$("#asmillerGallery_main").height(<?php echo $maxH ?>+50);

Save out and then select your new galleria block from the menu.

That seemed to work for me.

Good luck
dancer replied on at Permalink Reply
dancer
Hello,
Dunno if you have seen this post yet but:
Do Not delete:
asmillerGalleria_caption,

Fade on selected image will not work
Thanks
Alistair
zoinks replied on at Permalink Reply
awesome, thanks for the help. I tried to give back a little myself last week :) after falling all over myself for a few days to figure out a particular solution.

that's a good tip about duplicating the default folder.

So, does the above effectively remove the caption even though you said not to delete that particular file?
zoinks replied on at Permalink Reply
I don't even have echo $imgInfo in my view.php.

My guess is you were working on the left_nav option.

I appreciate the attempt, but there was unfortunately nothing I could glean from this that was applicable to me.

I can't figure out why display:none isn't working just to hide the caption area completely.
dancer replied on at Permalink Reply
dancer
No I duplicated the default folder.

It not in the styles... it is part of the main gallery:

Line 57 in view.php is where you will find:

$("#asmillerGallery_main").height(<?php echo $maxH ?+50);

It is this line that is pushing down the Main gallery by 50px;

BTW, you are NOT deleting entire files but just a few lines of code.. actually I didn't delete them but simply commented them out
zoinks replied on at Permalink Reply
ok, thanks. THAT line I do have. I just delete it? I'll comment it out and see if that works. Thanks.

Before, you said:

"Then I went into the view.php and deleted:
echo $imgInfo['description'];"

^ I don't have that line anywhere
dancer replied on at Permalink Reply
dancer
Line 35 (ish)

Part of the <ul id="asmillerGallery" ...> output
zoinks replied on at Permalink Reply
That's really weird. The "find" function in Dreamweaver apparently isn't very good.

Anyway, all I had to do was delete that last line! Actually, I just changed it to maxH +10 instead of +50.

Probably didn't hurt that I put "margin-left: -9999px;" in the CSS for the caption div, either, which made it disappear, but I still had 50px of white space under my main image.

Check it now, worked like a charm!
http://php.22graphics.com/index.php/print/collateral-eye-5/...


Thanks so much! Saved me a TON of time.
dancer replied on at Permalink Reply
dancer
Dreamweaver....pfft ;)

Glad I helped

By the way, is that next & prev links part of the "next prev block" from here as well?
zoinks replied on at Permalink Reply
yes, it's a free add-on! It's called Next & Previous - 1.0

Also, the creator gave me a code to embed it in my template. You still have to install it, but if you add the code to your template, it just automatically shows up on your page without having to add it every time. If you want that, here it is:
<?php  
   $bt = BlockType::getByHandle('tony_next_previous');
   $bt->controller->nextLabel = 'Next';
   $bt->controller->previousLabel = 'Previous';
   $bt->controller->showArrows =1;
   $bt->controller->loopSequence=1;
   //$bt->render('templates/footer_bar'); 
   $bt->render('view'); 
   ?>


If you make a parent page, it will cycle through all the children of that parent.
dancer replied on at Permalink Reply
dancer
Nice
Thanks