473,413 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Images in Accordion look like crap during runtime

Ty
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

..BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
Jun 27 '08 #1
3 1512
Ty
On Jun 27, 8:15*am, Ty <tbar...@lewistownhospital.orgwrote:
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
No one uses images in accordion control?
Jun 29 '08 #2
Assuming you're using asp.net for your project you should have posted in the
asp.net newsgroup, not the general one.

As for your question, you should be using lightweight image formats for the
images on your site. PNG and BMP image types can get quite large by
comparison to JPG or GIF image formats. JPG doesn't support transparency,
however the GIF image format does. Not to mention you might have problems
with machines connecting to the site that don't recognize the PNG format
making them unable to be rendered by the browser.

Convert the images to a GIF format and you shouldn't have any problems. I
imagine that in design mode your IDE is doing the rendering of the images,
however once you're running the site your browser is doing it.

HTH
- Jeff

"Ty" <tb*****@lewistownhospital.orgwrote in message
news:13**********************************@k37g2000 hsf.googlegroups.com...
>I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.

In design mode the images look great but as soon as I run the project
the images look like crap.

These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?

Anyone else having this issue.

.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.

Thanks,

Ty
Jun 29 '08 #3
Ty
On Jun 29, 11:43*am, "Jeff Winn" <jw...@nospam.comwrote:
Assuming you're using asp.net for your project you should have posted in the
asp.net newsgroup, not the general one.

As for your question, you should be using lightweight image formats for the
images on your site. PNG and BMP image types can get quite large by
comparison to JPG or GIF image formats. JPG doesn't support transparency,
however the GIF image format does. Not to mention you might have problems
with machines connecting to the site that don't recognize the PNG format
making them unable to be rendered by the browser.

Convert the images to a GIF format and you shouldn't have any problems. I
imagine that in design mode your IDE is doing the rendering of the images,
however once you're running the site your browser is doing it.

HTH
- Jeff

"Ty" <tbar...@lewistownhospital.orgwrote in message

news:13**********************************@k37g2000 hsf.googlegroups.com...
I have an accordion control with serveral panes. I am placing icons
and hyperlinks in the panes.
In design mode the images look great but as soon as I run the project
the images look like crap.
These are .PNG files and in runtime all the edges are doubled it looks
like the there are two images one ontop of the other and slightly
smaller so that you see the edges of the image on the bottom?
Anyone else having this issue.
.BMP, JPG seem to be ok but I do not have the images I want in those
formats and I think I loose the background transparency when they are
converted.
Thanks,
Ty- Hide quoted text -

- Show quoted text -
The problem turned out to be that the original images were large and I
had used a program to resize them. They looked great as long as I did
not use them in the accordion control. I downloaded the right sized
icons and they llok fine in the accordion control.

Thanks,
Ty
Jul 11 '08 #4

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

Similar topics

3
by: Dave | last post by:
Hi, I have an app that uses rollover images, but the images are still pulled from the web server during a mouseover instead of being pulled from memory. The code is as follows: the...
0
by: axxon | last post by:
hi, I am having a huge problem here! the scenario is i am trying to create dynamic accordion Panes to a accordion control inside a tab panel in a content page. It works just fine in a regular...
0
by: gg | last post by:
Hi, I have a checkbox control inside an accordion. During the page load I am attempting to set the Checked attribute as follows... If Session("bolShortDesc") = True Then...
4
by: surja | last post by:
Hi, I have written a code to download images from a server end desktop, but while running the code ,WTK is showing a runtime error " Create image from Byte array Uncaught exception...
2
by: LayneMitch via WebmasterKB.com | last post by:
Greetings. I'm reading this book that is teaching me the more appropriate way of assigning functions. It has an 'accordian' example that when you click on a link, it expands into other options...
8
by: Tomasz J | last post by:
Hello developers, After migrating my web project application (using the old model) to .Net Framework 3.5 and Ajax Control Toolkit release 20820 the Accordion control no longer works correctly....
3
by: Allen Chen [MSFT] | last post by:
Hi Richard, Quote from Richard================================================== However I also want to be able to remove the panes. I have tried to include this, but find that when I first...
6
by: Andy B | last post by:
I am trying to use an accordion control from the ajax control toolkit for ..net3.5 sp1. When I put a link in one of the accordion pannel headerTemplates to open and close the content, I always get...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.