Image resizing
Hello guys,
Where do you set the resizing value of the large image? I can't seem to find that value anywhere?
Brad
Hello guys,
Where do you set the resizing value of the large image? I can't seem to find that value anywhere?
Brad
Check out the admin/common/properties.php file. You can add new sizes in there. Once you update this file, you'll have to re-process your images so the new sizes are created. You can do that by updating the watermark settings (even if you just have a blank watermark). The gallery designs are designed to use the image sizes as specified, so you'll have to update the gallery PHP code if you want them to use a different size.
-justin
Is there any documentation on this? I looked at that file and changed a bunch of stuff but could never get it to do anything.
I can't believe there is no way to set image sizes?
If that value is stored in the common.properties.php file does that mean you can't have different size galleries?
Brad
You'll have to update the PHP and/or CSS for the gallery you are trying to change too. The properties.php file controls the image sizes that are created whenever you upload an image or update the watermark settings. If you are talking about the image size that is displayed when viewing a gallery, that will have to be updated as well to use whatever size you want. There are some other threads in this forum that have some details about this.
I'm not sure what you mean you can't have different size galleries? The properties.php file creates the various image sizes, then the galleries use those various sizes. The galleries we ship with for instance, use different thumbnail images. Those image sizes are specified in the properties.php file.
You can make your own gallery by copying one of the folders in the galleries directory, then modify the files how you need. Check out the how to on the support page: powergallery/. If you have any more specific questions about changing something, let me know.
-justin
Where?
I have changed just about everything there is to change and still can't get an image to fit where I need it.
testimonials.php
You guys seriously need some documentation with this product. Very few applications are actually going to need the sizes given. Its needs to be able to be adjusted. Its an awesome product that just needs to be finished.
Thanks,
Brad
Let's assume you added a new image size of 680px by 400px and re-processed your images. Now, open up the index.php file in the gallery directory you are using. On about line 14, there should be some code like this: &thumb=62c&full=782p. Change the 782p to 680p. That will use your new image.
Basically, the 2 arguments for the thumb and full can be changed to the size you need. The 782 is the width, p is for proportional image, c is for cropped. So by default it uses the 782px wide image that is proportionally sized.
Updates like this are more complex so that is why asking in the forum is a good place for now.
-justin
Thanks Justin,
That is exactly the info I needed. Much appreciated.
Hopefully this can be incorprated into the UI in a future version.
Brad
Okay this is strange,
I have two pages using the same gallery.
We fixed the one on the link above and it resized nicely ... but then
photoalbum.php
stopped working and won't display the full image at all?
Any idea why? I didn't even touch that page.
Brad
Error with some other JS not loading. Open firebug and you'll see it errors out.
The error I get is:
P7_TMopen is not defined
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.