474,045 Members | 2,271 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to put the imagedata in CMS?

I am doing a news-oriented multiuser cms, where authors can design
html-pages or plaintext-pages and then editor(s) accept them. Also they can
load images, at least five - maybe. But I don't know yet where should I
place tha imagedata. Options are at least:

1) To same table with the pagematerial, which naturally connects images with
pages but on the other hand limit the number of images/pages. Also I am
afraid, will this cause speed problems or is just indexing the text-fields
enough to prevent to speed problems.

2) To own table called images and then have author_id connected to every
image. In this way authors could only use their own images, but use the same
image easily without new file uploads. Maybe during the file upload there
could be option "allow use for all" and then author_id would be null. Those
images would be general image store for all auhors. In this moment this
alternative sounds best.

3) To own table called images and then have page_id connected to every
image. This is also quite natural consept but more restrictive than prevous
one.

4) To own table called images and then have couple of image_id fields in
pages-table. This violates database integrity but "good side" is that all
queries in public side can be done without inspecting images-table.

Jul 20 '05 #1
0 1148

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
2628
by: Henri Schomäcker | last post by:
Hi folks, I got a windows com executable which returns a jpg image in a BSTR. Let's say, the var that holds the data is $imgData. With perl, in a cgi script, I may simpy write: 8<--------8<--------8<--------8<--------8<-------- $| = 1; print "Content-type: image/jpeg\n\n";
47
3691
by: Andrey Tatarinov | last post by:
Hi. It would be great to be able to reverse usage/definition parts in haskell-way with "where" keyword. Since Python 3 would miss lambda, that would be extremly useful for creating readable sources. Usage could be something like: >>> res = where: >>> def f(x):
0
1178
by: Perttu Pulkkinen | last post by:
I am doing a news-oriented multiuser cms, where authors can design html-pages or plaintext-pages and then editor(s) accept them. Also they can load images, at least five - maybe. But I don't know yet where should I place tha imagedata. Options are at least: 1) To same table with the pagematerial, which naturally connects images with pages but on the other hand limit the number of images/pages. Also I am afraid, will this cause speed...
0
1212
by: Jerome | last post by:
Hi, I would like to know if there is a trick to use inlined raw data (encoded in base64 for example) to describe the content of an imageobject. I tried the following code, but i don't know how to describe the matching ENTITY. <!ENTITY ps_entity "how could i encode my ps file ???" > .... <mediaobject> <imageobject>
6
70971
by: SpaceApe | last post by:
Where does the imagedata get stored in following case? <img src="cid:image001.gif@01BF4C68.ABA6D350" When I tried to save the gif file by right clicking the picture I got it as .bmp. What does the number 01BF4C68.ABA6D350 indicate? How can I save the gif file on my harddisk?
1
1216
by: rajesh0205 | last post by:
plz. tell me hwa we read the imagedata tag hich is the combination of the alphanumeric data in the xml file. plz send answer as earliest as possible
2
1353
by: rajesh0205 | last post by:
tell plz me, how we read the IMAGEDATA tag from xml file
8
2709
by: rajesh0205 | last post by:
How to read the IMAGEDATA tag from the xml file. OK.
3
3413
by: teddymeu | last post by:
Hi Guys, new to development using visual studio and vb.net 2.0. and SQL express. Have a small problem. I have an update command which im using to change the values of a blob image table to NULL so that i can then insert a new image into the table. This works fine. My problem is that my insert statement has an error and i cant figure this out. if i dont add the where clause it works fine but inserts the new image into the table without the...
0
10548
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
12142
Oralloy
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...
0
11604
jinu1996
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...
1
12027
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
11143
tracyyun
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...
0
10313
agi2029
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...
0
7872
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();...
1
5420
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.