Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Plugin • Lightbox Gallery 'MyGallery'
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 11, 12, 13  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Plugin • Lightbox Gallery 'MyGallery'
Author Message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
safarda,

Did you CHMOD your 'log.dat.php' file file to '0777' like D72 explained in his first post (or in the readme.txt file)? I believe this is the problem.

Also make sure to CHMOD the 'galleries.dat' file and the other folders specified as well.
Sun Apr 20, 2008 7:32 am View user's profile Send private message
Guest








Please login to hide the ads.

safarda



Joined: 05 Nov 2007
Posts: 11
Location: Nepal

Post Login problem mygallery Reply with quote
i'm using localhost on windows (apache) so please suggest me what to do ! I could not login to my gallery. Shows login box again and again

waiting for the reply
Sun Apr 20, 2008 10:07 am View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
I don't know. I've never tested it on a Window/Apache localhost, but I remember someone from the planetluc forums with a similar setup and it worked for him. hmmm . . . do you have a non-localhost server to test on?
Tue Apr 22, 2008 9:39 pm View user's profile Send private message
safarda



Joined: 05 Nov 2007
Posts: 11
Location: Nepal

Post Reply with quote
sidtheduck wrote:
safarda,

Did you CHMOD your 'log.dat.php' file file to '0777' like D72 explained in his first post (or in the readme.txt file)? I believe this is the problem.

Also make sure to CHMOD the 'galleries.dat' file and the other folders specified as well.



Dear sidtheduck

thank u very much...I will try it on remote host (non localhost) and let u know. Thanks again for your help

Cheers
Safar
Wed Apr 23, 2008 5:11 am View user's profile Send private message
Superdok



Joined: 07 Feb 2008
Posts: 25

Post Reply with quote
In config.inc.php theres something like this:
Code:
// image size
$mgConf['imagewidth'] = 500;   
$mgConf['imageheight'] = 500; 
// there are 3 modes if image doesn't have above width/height
// 1) 'w' - resize image to width
// 2) 'h' - resize image to height
// 3) 'm' - resize image to bigger side's value given above
// 4) 'c' - resize and crop image to $mgConf['imagewidth'] & $mgConf['imageheight']
$mgConf['imagemode'] = "m";   


But i dont want the pictures to be resized to 500*500px. Because then they all have the same messures and there wont be any cool lightbox "animation" anymore. Is it possible to only resize thumbs without resizing the "normal" images.
So if i for exmaple upload a image with 600*400px and press "upload" the script should not resize the image to a definded width/height but it should just produce a image with 600*400px.
Wed Apr 23, 2008 7:59 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Superdok wrote:
In config.inc.php theres something like this:
Code:
// image size
$mgConf['imagewidth'] = 500;   
$mgConf['imageheight'] = 500; 
// there are 3 modes if image doesn't have above width/height
// 1) 'w' - resize image to width
// 2) 'h' - resize image to height
// 3) 'm' - resize image to bigger side's value given above
// 4) 'c' - resize and crop image to $mgConf['imagewidth'] & $mgConf['imageheight']
$mgConf['imagemode'] = "m";   


But i dont want the pictures to be resized to 500*500px. Because then they all have the same messures and there wont be any cool lightbox "animation" anymore. Is it possible to only resize thumbs without resizing the "normal" images.
So if i for exmaple upload a image with 600*400px and press "upload" the script should not resize the image to a definded width/height but it should just produce a image with 600*400px.
Those are maximum sizes, not necessarily absolute sizes (depending on your imagemode).

Using the values above:
imagemode 'w': All images are resized to a maximum width of 500px proportionally.
imagemode 'h': All images are resized to a maximum height of 500px proportionally.
imagemode 'm': All images are resized along the larger side to a maximum size of 500px proportionally (i.e. landscape photos are resized to 500px width and portrait photos are resized to 500px height).
imagemode 'c': All images are resized along the smaller side to a maximum size of 500px proportionally and then cropped square (i.e. landscape photo is resized to 500px height and center cropped to 500px wide).

None of the options "stretch" images to fit a certain size.

Also, thumbwidth, thumbheight, and thumbmode are exactly the same as above, but for thumbnails (completely separate from the original image sizing and mode).

I hope that clears up your questions. Very Happy
Wed Apr 23, 2008 8:45 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
So, sidtheduck. I have the question you don't want to hear lol

How can I make lightbox open any page in a little ajaxish window. Newgrounds.com is doing it with their flash games.

My vision is embedded flash player.. click thumbnail, open lightbox window with hosted flash player and video with like 1-3 ads around it.

I realize yours is for MyGallery and lightbox combined.. which is designed for images.. and does it great. So, I did some research and found many more lightbox versions that do the same. Then I found thickbox which says it can do it all.. but I tried and tried and got it to do nothing.

Any idea?

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Thu Apr 24, 2008 6:31 am View user's profile Send private message Visit poster's website AIM Address
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
scottdallas wrote:
So, sidtheduck. I have the question you don't want to hear lol

How can I make lightbox open any page in a little ajaxish window. Newgrounds.com is doing it with their flash games.

My vision is embedded flash player.. click thumbnail, open lightbox window with hosted flash player and video with like 1-3 ads around it.
I'd love you help you out, scottdallas! I'm just wondering if we should move the conversation to a new topic?

Anyway, Lightbox (v1 and v2) are only for images, so like you said, you have to look through one of the many zillions of clones and improved clones out there. Also, it depends on what javascript framework you want to work on (jQuery, prototype + script.aculo.us, mootools, or no external framework). Basically, my favorites that can do all are:

  • Lightview - based on prototype + script.aculo.us
  • Highslide - no external framework
  • Thickbox - based on jQuery (which you already know of)
  • Mediabox - based on mootools (although I'm not sure if Mediabox does images very well)


Granted, there are many out there, but I really enjoy the look, animations, + design of those listed above the best. Go ahead and take a look through their examples and let me know which one you would like to use. Also, I think D72 has exprerience using Mediabox on some of his sites for playing .mp3s + video.

p.s. It looks like newgrounds.com uses their own custom written media javascript overlay.
Thu Apr 24, 2008 4:36 pm View user's profile Send private message
Superdok



Joined: 07 Feb 2008
Posts: 25

Post Reply with quote
Thanks sidtheduck for your answear. I thought these are absolute sizes but now everything works.

But theres one more thing i would like to know:
Is it possible to for example truncate this {captiongallery}

Example:
Normally the script outputs "My first gallery with many many pictures in it"
But i want the script to output something like: "My first gallery with ma..."


By the way: I like "Lightview" best because of its clean design and cool lightbox animation
Thu Apr 24, 2008 6:17 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Superdok wrote:
But theres one more thing i would like to know:
Is it possible to for example truncate this {captiongallery}
Sure, just replace (in your template file):
Code:
{captiongallery}
with:
Code:
<?=substr("{captiongallery}", 0, #)."...";?>
replacing '#' with the number of characters you would like to display before cutting it off

Superdok wrote:
By the way: I like "Lightview" best because of its clean design and cool lightbox animation
Yeah, I probably like Lightview and Highslide the best.
Thu Apr 24, 2008 7:42 pm View user's profile Send private message
Superdok



Joined: 07 Feb 2008
Posts: 25

Post Reply with quote
Thank you so much sidtheduck. It worked!!
Thu Apr 24, 2008 11:44 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
Thanks sidtheduck.. apparently that wasn't the question you didn't want to hear at all Smile I've downloaded these and am about to try them. They look the most promising from what I can see.

# Lightview - based on prototype + script.aculo.us
# Highslide - no external framework

I'm trying to also think of, figure out, and code this with SEO in mind. I realize that when content is loaded in this manner, no links will be created or can be created for search engines to index stuff.. so I'm thinking of going with the scrollable inline or iframe content pages and have little mini pages set up that have SEO in them... that way if a user does stumble on the page randomly, you know.. etc.. basically if they found it on a search engine, I did good.

Anyway, time to play Smile I'm excited about this.

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Fri Apr 25, 2008 6:21 am View user's profile Send private message Visit poster's website AIM Address
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
Highslide seems to do it all and pretty easily. I'm sold. Thanks homie.

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Fri Apr 25, 2008 8:58 am View user's profile Send private message Visit poster's website AIM Address
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
fo'shiz! Nice integration!
Fri Apr 25, 2008 4:43 pm View user's profile Send private message
scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
hah where did you see it at? i put it on scottdizzle.com last night but I was so dead tired, it looks like poop.. I'm going to go try to make it look smoother today. I know it can be made into a perfect integration, I just don't like how it looks on my site so far. This is PERRRRFECT though. I almost don't ever want to open links any other way on my cnr sites.

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Fri Apr 25, 2008 5:19 pm View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 11, 12, 13  Next
Page 7 of 13

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.