BajaNomad
Not logged in [Login - Register]

Go To Bottom
Printable Version  
Author: Subject: Doug-- Missing imbedded image dimensions
Sharksbaja
Elite Nomad
******


Avatar


Posts: 5814
Registered: 9-7-2004
Location: Newport, Mulege B.C.S.
Member Is Offline


[*] posted on 8-13-2006 at 02:11 PM
Larry


I've been aware there is a prob with some browsers and how they display the link(s). I did reduce the DPI as Doug indicated could be useful, but I'd like to know more. I use IE and have never had a prob w/browser loading based on image size.

Doug, does this happen wth your browser software as well?




DON\'T SQUINT! Give yer eyes a break!
Try holding down [control] key and toggle the [+ and -] keys


Viva Mulege!




Nomads\' Sunsets
View user's profile
comitan
Ultra Nomad
*****


Avatar


Posts: 4177
Registered: 3-27-2004
Location: La Paz
Member Is Offline

Mood: mellow

[*] posted on 8-13-2006 at 07:23 PM


Larry

Is this why they don't download in any order, much of the time you can scroll down while your waiting for the first and theres some already loaded below.




Strive For The Ideal, But Deal With What\'s Real.

Every day is a new day, better than the day before.(from some song)

Lord, Keep your arm around my shoulder and your hand over my mouth.

“The sincere pursuit of truth requires you to entertain the possibility that everything you believe to be true may in fact be false”
View user's profile
Sharksbaja
Elite Nomad
******


Avatar


Posts: 5814
Registered: 9-7-2004
Location: Newport, Mulege B.C.S.
Member Is Offline


[*] posted on 8-13-2006 at 11:33 PM
Image size quandary


If all the photos were of exact size would this prob be eliminated?



DON\'T SQUINT! Give yer eyes a break!
Try holding down [control] key and toggle the [+ and -] keys


Viva Mulege!




Nomads\' Sunsets
View user's profile
BajaNomad
Super Administrator
*********


Avatar


Posts: 4999
Registered: 8-1-2002
Location: San Diego, CA
Member Is Offline

Mood: INTP-A

[*] posted on 8-14-2006 at 03:22 PM


Quote:
Originally posted by lencho
...is there any way to modify, or request the authors to modify, the forum software so that it actually checks the image size and imbeds the width and height in the img clause of the imbedded image links? That's not trivial but it's technically feasable;


I'm aware of what the software does and basically how space is allocated for images when the dimensions are specified.

The XMB software allows users to specify an image to embed, and inserts the "BB Code" by means of client-side Javascript coding. Again, all client-side, with no ability to check the file's dimensions. The user can specify the width manually in the IMG code however (example: img=50x50):
http://forums.bajanomad.com/faq.php?page=misc#1

On the server-side, when the inserted "BB Code" is recognized on a page request, the forum software then inserts the corresponding (HTML) output to the client. That's on each and every page-request.

Checking image sizes needs to happen on the server-side, and to have pages check the size of each and every embedded image would increase page load times (checking a remote server for each image) and server CPU load. Not insignificant if it needs to do this for every image that's embedded on every page that's requested, every time that page is requested.

If you're thinking maybe the software could check once, and then edit the posted information's BB Code, well as far as I know that's not done anywhere else in the software.

Although a request could be put in for future updates, I'm not sure that I'd support that happening, as one of the goals of software like this, and what I like about XMB - is the limited load the software puts on the server, and the quicker page load times because of what I feel is efficient code.

Regarding editing the code, XMB makes this fairly easy, and I have done so more in the past, but now realize the ability to upgrade the software to newer versions is now more important to me, and is made more difficult the more the code gets customized.

--
Doug

[Edited on 8-14-2006 by BajaNomad]




When I was young, I admired clever people. Now that I am old, I admire kind people.
– Rabbi Abraham Joshua Heschel

We know we must go back if we live, and we don`t know why.
– John Steinbeck, Log from the Sea of Cortez

https://www.regionalinternet.com
Affordable Domain Name Registration/Management & cPanel Web Hosting - since 1999
View user's profile Visit user's homepage
BajaNomad
Super Administrator
*********


Avatar


Posts: 4999
Registered: 8-1-2002
Location: San Diego, CA
Member Is Offline

Mood: INTP-A

[*] posted on 8-15-2006 at 12:02 AM


Planning on updating a.s.a.p. That requires me shutting down the site for the upgrade (slowest time is around 2-5am Sunday mornings) - and the current upgrade alters the database as well - structure or otherwise. Because of the size of the current db, I'm expecting possible issues, which requires me to have both extra time - and extra patience.

Because of this, I also have to make a backup of the db after shutting the site down and proceeding with the upgrade. So, add more time and patience.

;)




When I was young, I admired clever people. Now that I am old, I admire kind people.
– Rabbi Abraham Joshua Heschel

We know we must go back if we live, and we don`t know why.
– John Steinbeck, Log from the Sea of Cortez

https://www.regionalinternet.com
Affordable Domain Name Registration/Management & cPanel Web Hosting - since 1999
View user's profile Visit user's homepage
BajaNomad
Super Administrator
*********


Avatar


Posts: 4999
Registered: 8-1-2002
Location: San Diego, CA
Member Is Offline

Mood: INTP-A

[*] posted on 8-15-2006 at 10:54 AM


Larry,

Customization has been tidbits here and there. Not a huge deal, but I need to go through and backup these things.

DB Size: My experience (so far) has been with the larger tables causing delays, timeouts, etc during processes such as this. So, I'm just going in with the expectation of having issues along these lines. I may need to clear out the DB for the upgrade and then (alter to mimic the changes made, and) reload all the tables (18 of 'em). The two largest tables are the attachments (currently 367MB) and the posts (now at 65MB).

And I could be wrong, and it'll all go super smooth. :?:

--
Doug




When I was young, I admired clever people. Now that I am old, I admire kind people.
– Rabbi Abraham Joshua Heschel

We know we must go back if we live, and we don`t know why.
– John Steinbeck, Log from the Sea of Cortez

https://www.regionalinternet.com
Affordable Domain Name Registration/Management & cPanel Web Hosting - since 1999
View user's profile Visit user's homepage

  Go To Top

 






All Content Copyright 1997- Q87 International; All Rights Reserved.
Powered by XMB; XMB Forum Software © 2001-2014 The XMB Group






"If it were lush and rich, one could understand the pull, but it is fierce and hostile and sullen. The stone mountains pile up to the sky and there is little fresh water. But we know we must go back if we live, and we don't know why." - Steinbeck, Log from the Sea of Cortez

 

"People don't care how much you know, until they know how much you care." - Theodore Roosevelt

 

"You can easily judge the character of others by how they treat those who they think can do nothing for them or to them." - Malcolm Forbes

 

"Let others lead small lives, but not you. Let others argue over small things, but not you. Let others cry over small hurts, but not you. Let others leave their future in someone else's hands, but not you." - Jim Rohn

 

"The best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer." - Cunningham's Law







Thank you to Baja Bound Mexico Insurance Services for your long-term support of the BajaNomad.com Forums site.







Emergency Baja Contacts Include:

Desert Hawks; El Rosario-based ambulance transport; Emergency #: (616) 103-0262