WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.

Donate with PayPal buttonSpenden mit dem PayPal-Button

  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • Some of my sites
  • Print
Pages: [1]   Go Down

Author Topic: Some of my sites  (Read 7719 times)

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Some of my sites
« on: March 10, 2008, 05:33:10 PM »
Ok,

Time to show some of my work.

My own site:
www.allwww.nl

Some customers
www.golfbanenspanje.nl
www.koppelwebwatch.nl
www.unitautos.nl
www.rietdijkauto.nl

Please be nice to me  :wink:

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline GRID8400

  • Posts: 119
  • Gender: Male
  • It's all about design!
    • KEY2DESIGN
Re: Some of my sites
« Reply #1 on: March 10, 2008, 07:49:29 PM »
looks okay..
was wondering what mod you used for  rietdijk auto / Voorraadlijst????
Is it a WB module???
Logged
Our WB websites: KEY2DESIGN & KEY2PICTURE

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Some of my sites
« Reply #2 on: March 11, 2008, 09:25:13 AM »
Quote from: GRID8400 on March 10, 2008, 07:49:29 PM
was wondering what mod you used for  rietdijk auto / Voorraadlijst????
Is it a WB module???

Yes, it is a slightly modified version of the (not yet supported, but well working) catalog module.
https://forum.WebsiteBaker.org/index.php/topic,1463.0.html

I changed the smarty templates a bit so that it would use the lightbox2 module javascript on the details page.
I also added a small resize routine (copy/change/paste from the lightbox2 mod), so my car delaers can upload their 5+ megapixel images directly.
I now have 3 sites running this, and the customers love it.

Ruud

Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline GRID8400

  • Posts: 119
  • Gender: Male
  • It's all about design!
    • KEY2DESIGN
Re: Some of my sites
« Reply #3 on: March 11, 2008, 10:25:30 AM »
COOL! tnx for the info..
Logged
Our WB websites: KEY2DESIGN & KEY2PICTURE

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Some of my sites
« Reply #4 on: September 23, 2008, 10:14:49 PM »
Small question, i want to use this module to, but i don't know how i can make a rezise tool, can you please explain?

Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Some of my sites
« Reply #5 on: September 23, 2008, 11:00:40 PM »
It was a long time ago, but I think this was all...

In the file save_pic.php add the following code just before the line (77) that says:
Code: [Select]
//guardar el file en la base de datos
Code to add:
Code: [Select]
//Resizer
// Check if the original image is greater than the max_size
if (is_file($nuevo_sitio)) {
    $image_info = getimagesize($nuevo_sitio);
}
   
$max_width = 640;
//If the image is wider than the max size resize it
if ($image_info[0] > $max_width && $max_width > 0) {
    echo ( 'Resizing');
     // Instantiate the GD class.
    $new_image = new GD;
    // Set parent image path and thumbnail path.
    $new_image->setFile($nuevo_sitio);
    $new_image->setNewFile($nuevo_sitio);
    // Resize image.
    $new_image->getImageInfo();
    $new_image->calcSize_thumb($max_width);
    $new_image->createImage();
 }
// End Resizer

Good luck.

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Some of my sites
« Reply #6 on: September 24, 2008, 12:19:53 AM »
It looks interesting, but I can't really follow you.
Which module do you use it in... and (more important) can this snippet be also used for another modules where I have the need to upload images (so they would be resized)?
And what happens with the original ones (5+ MegaPix)?

Best Regrards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Some of my sites
« Reply #7 on: September 24, 2008, 09:22:17 AM »
Yes, you could use this (it might need a bit of modification for filename variables) anywhere.
I used it in the Catalogs module so my customer could upload pictures from his camera directly to the module.
The images were fixed on 640px width. (example)

This simple method will overwrite the original image, so that one is lost.
The line: $new_image->setNewFile($nuevo_sitio); sets the output file. So a new filename would create a resized copy.

The size of the image you can upload and resize depends a bit on your host. It takes pretty much memory and time to resize large images. My dev server had problems with really big (8mpx) images, where my host server didn't have problems.

Ruud
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Stefek

  • Posts: 6177
  • Gender: Male
  • ("ړ)
Re: Some of my sites
« Reply #8 on: September 24, 2008, 10:46:54 AM »
Thank you Ruud.

I'll get back to this trick once I need it.
Very helpful modification.

Regards,
Stefek
Logged
"Gemeinsam schafft man mehr."

gemeinsam
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Offline nibz

  • Posts: 684
  • Gender: Male
Re: Some of my sites
« Reply #9 on: September 24, 2008, 11:00:17 PM »
Many thanks!, It realy takes time to uplode the images, but it's a good addition to the module
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Some of my sites
« Reply #10 on: September 24, 2008, 11:24:35 PM »
Quote from: nibz on September 24, 2008, 11:00:17 PM
Many thanks!, It realy takes time to uplode the images, but it's a good addition to the module

That is the penalty for a consistent image size.
My customer didn't know how to resize images, so this was the best solution. The only other solution was to install software and do a training session on image resizing. I liked this better.

Ruud

Logged
Dev4me - WebsiteBaker modules - WBhelp.org

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • WebsiteBaker Website Showcase »
  • Some of my sites
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2