close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Making pictures bigger

Thread began 10/28/2009 5:05 pm by info355813 | Last modified 10/29/2009 10:37 pm by Eric Mittman | 775 views | 3 replies |

info355813

Making pictures bigger

Hi, is there anyway to make the pictures on the detail page bigger? Or is there a way (hopefully somewhat easy or something I can understand) to setup on the detail page that allows users to click on the picture (on the detail page) and open up a bigger version of it or enlarge it? Thank you very much.

Sign in to reply to this post

Eric Mittman

In your product insert and update pages in the admin area there are these two lines of code:

php:
'ResizeWidth' => "400",

    'ResizeHeight' => "400",



You can make these values larger to increase the size of the image you see on the details page. If you make these adjustments though you may need to edit the css on the details page to accommodate your lareger image size.

Sign in to reply to this post

info355813

Thank you. So as far as the pictures being uploaded they should be 400x400 to look the best on the site? What about some sort of code or something to allow users to click on the image (on the details page) to open up maybe a pop-up window for a bigger version? Like ebay or amazon.
Thanks again

Sign in to reply to this post

Eric Mittman

To get the larger image to open when you click on the smaller one is possible but it would require some customization of the PowerStore that may not be very easy.

You first need to use Digital File Pro to alter the image upload to add another on step two, give it a name and have no resizing done.

Next you would want to update your db to add another column where you can store this image name. After you do that you would need to update the insert and update DataAssist server behaviors to record this new image value.

Once that was done you would then be able to modify your details page with either some js or adding a link around the image to go to another page with the large image. You would also need to use the recordset binding from your db for the file name in this link.

So this is possible but it would require a little bit of work and use of a couple WA tools to accomplish. If you are not comfortably with making changes like this it is probably not the best solution.

Sign in to reply to this post

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...