PDA

View Full Version : Gallery Extension


GusLinares
04-24-2007, 11:14 PM
Hi there:

I am testing out the new gallery extension.

In the install readme it refers to addition to include/box_definition.php

I don't have this file.

Has anybody tried this install yet?

Thanks

Gus

utvara
04-25-2007, 10:05 AM
box_definition.php was introduced in Vivvo 3.5 clean install, it is not part of upgrade version.

For upgraded versions you can put custom code for Gallery last post in index.php at bottom, before


//************************************************** *
//************************************************** *
//************************************************** *
//************************************************** *
include('include/header.php');

GusLinares
04-25-2007, 12:36 PM
I originally downloaded 3.5 clean install for my test server but this file is not there either.

Is it possible to download this file from somewhere?

Is there another version of 3.5 clean which I may have missed?

Thanks

Gus

GusLinares
04-25-2007, 12:56 PM
OK re-downloaded 3.5 and the file is included in this archive now.

Thanks

Gus

GusLinares
04-25-2007, 11:35 PM
Hi

I have added gallery extension and include/box_definition.php at my local test site.

I have added new cat gallery and added an image.

But thumbnails are not working. I have checked I and have added the thumbnail.php file.

However I see that in the install readme it does not mention this file and niether is it called by any other php file included with the gallery extension.

How are the thumbnails produced?

Thanks

Gus

utvara
04-26-2007, 09:39 AM
Thumbnails are generated on fly, that means if there is a thumbnail for that picture use it, if not create new one.

There are x predefined sizes:

- latest (uses size defined for latest news)
- headlines (uses size defined for headlines)
- article_full (uses size 480x480)
- gallery (uses size 150x150)

Thumbnails are stored in files/thubmnail subfolderes

files/thubmnail/latest
files/thubmnail/headline
files/thubmnail/article_full
files/thubmnail/gallery

You need to sat permissions on each folder to 777.

To use thumbnail view instead of direct file display point the img src to thumbnail.php?file=image_file_name&size=size_you_w ant

Hope that helps.

GusLinares
04-26-2007, 01:03 PM
Hi

I have checked the permissions and they are set to 777.

Ok so I add a new image in the gallery category by using add new article.

So what happens next?
Are the thumbnails are automatically produced when I save new article?

How is thumbnail.php invoked? what runs this file in order to create the thumbnails?

Sorry if I appear a bit daft but I cant understand.

I get the gallery, the article with entry and title but no thumbnail. If I click on the article I get the js gallery and it shows the image I uploaded.

On Another sunbject: Is gallery one image per article or can more images be included with each?

GusLinares
05-01-2007, 10:34 AM
can anyone help on this please.

Thnx

G.

MuhaciR
05-22-2007, 03:21 PM
can anyone help on this please.

Thnx

G.

it is usin gd class perhaps you havent it contact with host
________
VOLCANO VAPORIZERS (http://volcanovaporizer.net/)
________
Ipad accessories (http://accesoriesipad.com/)

sam
06-21-2007, 04:19 PM
it is usin gd class perhaps you havent it contact with host

gd class? what u mean

GUS
06-22-2007, 01:09 AM
I didn't read the whole thread but ...

Gd Class
It generates images with random secret texts. The secret texts are stored on the server side using session variables. Normaly used to make sure is a human and not a robot script. But I don't think that's what Gus Linares needs.

The images are drawn with the GD library and outputted in the JPEG format.
I believe he was talking about GD Library and/or ImageMagick, GD library is an open source code library, which developers use for dynamic creation of images. GD helps you to construct graphs, charts and tables using the data available or create custom images, based on your needs and provided by your Host.

Saludos
GuS

sam
06-22-2007, 01:40 PM
yes, I have gd. this gallery code not a right one. they post fake code or not a right instractions **loll*