Hi,
I'm not sure if this is the right group to ask. I am developing a
small image library and I don't know how to hide the actual path to
the image. So I go to the stock photo library websites to see how they
hide their images. This is what I see from gettyimages.com
<img src="http://cache2.asset-cache.net/xc/200186170-001.jpg?
v=1&c=NewsM aker&k=2&am p;d=1EF4EE1EFB3 A2CD3E55FD76681 43826B10621193D B58D674"
id="ctl12_ctlCo mp_imgThumb" class="thumbHei ght">
Can someone please explain why there are parameters after the ".jpg",
which is not an executable file? I've got the link by right-click and
view image properties. However, if I just copy the link, and paste
into a new window, I won't see the image.
Any one knows what technique is this?
Thank you.
DP.
Jun 2 '08
21 1576
On Fri, 23 May 2008 12:10:15 -0400, Jerry Stuckle wrote:
Peter H. Coffin wrote:
>On Fri, 23 May 2008 07:40:37 -0400, Jerry Stuckle wrote:
>>Álvaro G. Vicario wrote: Some guys adore storing binary data in databases but of course that's a good old discussion. I particularly find no benefits in it (you can't do searches like "WHERE category_id=20 AND picture PORTRAITS A 'black cat'") and it add an annoying overhead in all related tasks.
The ability to search is not the only reason to store things in databases. And if you have hundreds of thousands of images, a database can be more efficient.
It's a little rough on the incremental backups, though... (:
Only the first time. But it makes backups easier - you don't have to
back up files and database. Just the database.
Which DBMS do incremental backups well? I'm mostly familiar with MySQL
and DB2 and both of those are pretty much "shut things down, back up the
whole thing" every single time, while using filesystem storage for
100000 images would mean backing up 99940 only once, then the handful of
new or changed ones every increment. And it takes quite a different
amount of time on my ancient tape drives to back up 10GB instead of
2-3MB.
--
Better to teach a man to fish than to give him a fish. And if he can't
be bothered to learn to fish and starves to death, that's a good enough
outcome for me.
-- Steve VanDevender
Peter H. Coffin wrote:
On Fri, 23 May 2008 12:10:15 -0400, Jerry Stuckle wrote:
>Peter H. Coffin wrote:
>>On Fri, 23 May 2008 07:40:37 -0400, Jerry Stuckle wrote: Álvaro G. Vicario wrote: Some guys adore storing binary data in databases but of course that's a good old discussion. I particularly find no benefits in it (you can't do searches like "WHERE category_id=20 AND picture PORTRAITS A 'black cat'") and it add an annoying overhead in all related tasks. > > The ability to search is not the only reason to store things in databases. And if you have hundreds of thousands of images, a database can be more efficient. It's a little rough on the incremental backups, though... (:
Only the first time. But it makes backups easier - you don't have to back up files and database. Just the database.
Which DBMS do incremental backups well? I'm mostly familiar with MySQL
and DB2 and both of those are pretty much "shut things down, back up the
whole thing" every single time, while using filesystem storage for
100000 images would mean backing up 99940 only once, then the handful of
new or changed ones every increment. And it takes quite a different
amount of time on my ancient tape drives to back up 10GB instead of
2-3MB.
DB2 actually will do incremental backups based on the binary logs.
MySQL doesn't do that yet - but you can emulate it with a slave.
You probably could do an incremental backup with MySQL based on the
binary logs, but I don't know how hard it would be.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== === This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jasonshohet |
last post by:
I read recently that: "if a before-image was made before an
interruption in database processing, you use the before-image dump &
simply begin processing again from just before the last transaction.
Any checkpoints are irrelevant."
I'm not a dba here, so bear with me... What I don't understand is, why
are checkpoints irrelevant when you did a before image dump? Why not
begin from the last checkpoint? Probably part of my problem is...
|
by: Sean Berry |
last post by:
I have an online store that a customer needs customized by having notes for
each product. I have added a javascript function that sends a session id,
unique product id and some user-defined notes to a script using
XMLHttpRequest. The values get there fine and get stored in a database.
Upon checkout (on the checkout page) I now want to pull all of the data back
from the database and display it. I don't need to display the notes in...
|
by: Mainlander |
last post by:
An ISP I belong to uses Majordomo for their mailing list system. I'd like
to encourage them to move to a system that uses a database, preferably
psql which they already run on their server. Anything out there in Php?
|
by: Fernando Cacciola |
last post by:
Hi, I'm terribly new at C# (come from C++ land).
I'm making some benchmarks to see the effect of different coding styles, and
I run across a situation that strikes me as pretty odd.
For my image processing code I would like to use low-level "Iterators", as I
would in C++, so I have a struct of the form:
public unsafe struct Col
{
public Col ( byte* ptr ) { mPtr = ptr ; }
|
by: archana |
last post by:
Hi all,
I am using timer to do some functionality on user specified time.
I am using system.timers.timer class and its timer to do this
functionality. What i am doing is i set autoreset to false as i want to
start processing only on user specified time.
I am setting interval as difference between user sepcified time and
current time. And when that elapsed event occured i am again setting
| |
by: Enrique Cruiz |
last post by:
Hello all,
I am currently implementing a fairly simple algorithm. It scans a
grayscale image, and computes a pixel's new value as a function of its
original value. Two passes are made, first horizontally and second
vertically. The problem I have is that the vertical pass is 3 to 4
times slower than the horizontal, although the code is _exactly_ the
same in both cases?!
The code itself is very simple. There are 2 loops to scan through...
|
by: Dave.Sun.Moon |
last post by:
Dear all,
I am not a professional programmer. In stead, I am using C++ mostly
for my research work. My knowledge of C++ is only good enough for my
computation. I really don't use the advanced feature of C++ very much
(e.g. virtual functions, templates, etc. ).
Recently, I have to work on some image processing problems. My first
thought is to use C++ instead of Matlab, However, I don't want to
reinvent the wheel, to rewrite all the...
|
by: tavares |
last post by:
(Our apologies for cross-posting.
We appreciate if you kindly distribute this information by your co-
workers and colleagues.)
***************************************************************************
Symposium “Image Processing and Data Visualization”
2nd South-East European Conference on Computational Mechanics (SEECCM
2009)
Island of Rhodes, Greece, 22-24 June 2009
|
by: Christian Schlemmer |
last post by:
Hi,
in a webapplication, after a submit a page is called which is processing
images uploaded by the user. currently after submit a status bar will be
visible (the page for the image processing runs in an iframe) and after
image processing the page makes an redirect. if there are many images, the
processing needs some time and if the user is closing the browser the
processing will be interrupted.
now i would like to source out the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |