close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image resizing

Thread began 12/15/2009 6:14 pm by Brad Lawryk | Last modified 12/16/2009 4:51 pm by Brad Lawryk | 2395 views | 17 replies |

Brad Lawryk

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

Sign in to reply to this post

Justin Nemeth

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

Sign in to reply to this post

Brad Lawryk

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

Sign in to reply to this post

Justin Nemeth

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

Sign in to reply to this post

Brad Lawryk

Originally Said By: Justin Nemeth
  You'll have to update the PHP and/or CSS for the gallery you are trying to change too.  



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

Sign in to reply to this post

Justin Nemeth

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

Sign in to reply to this post

Brad Lawryk

Thanks Justin,

That is exactly the info I needed. Much appreciated.

Hopefully this can be incorprated into the UI in a future version.

Brad

Sign in to reply to this post

Brad Lawryk

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

Sign in to reply to this post

Justin Nemeth

Error with some other JS not loading. Open firebug and you'll see it errors out.

Sign in to reply to this post

Brad Lawryk

The error I get is:

P7_TMopen is not defined

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...