suppose i have this table:
group_id | image | image_id |
-----------------------------
23 blob 1
23 blob 2
23 blob 3
21 blob 4
21 blob 5
25 blob 6
25 blob 7
how to get results of only 1 of each group id? in this case,there may be multiple images for one group id, i just want one result of each group_id
i tried distinct but i will only get group_id. max for image also would not work.
Please find the attached image in this posting. We have a requirement to draw a rectangle at run time on selected grid columns.The rectangle must cover all of the selected grid cells as the described in the below image.
Is there a common way to show a big image and enable the user to zoom in and out and pan the image?
Until now I found two ways:
overwriting ImageView, that seems a little bit too much for such a common problem.
using a webview but with less control over the overall layout etc.
I downloaded a Kali Linux ISO VMware image thinking that it would be able to run in Virtualbox as well. However, this only seems to be the case with .vmdk files, and my image is a .vm.tar.gz file. Virtualbox does not recognize it as a valid ISO file, and I am not sure how to convert it. The entire thing is
kali-linux-1.0-i386-gnome-vm.tar.gz
The goal is to be able to run this in a Virtualbox, is there any way to convert this from VMware to Virtualbox?
I have a bunch of 200X120 thumbnails and a bunch of high quality images, Apparently when I just resize the thumbnails with img size the quality suffers, so we are loading two images from the server the image thumbnail and the actual, I am just trying to optimize my site for speed a little saw someone mention embedding thumbs in the image, does anyone know a program that does that? Is this the best way to achieve my goal of high quality thumbnails?
I am new to matplotlib and python and would like to display an image so that 1 pixel of the image is actually represented by 1 pixel in the figure. In MATLAB, this is achieved with the command truesize(). How can I do this in Python?
I tried playing around with the imshow() arguments as well as set_dpi() and set_figwidth()/set_figheight(), but with no luck.
Thanks.
Hii'm begginer in android. i'm doing small apllication,i have mainscreen and calling next screen by main screen.in nextscreen by selecting image in gallery i wanted to go back main screen by getting image url how can do this please help me its urgent.
could anybody knows any alternatives to progressbar?
Inmy project im using progressbar..I would like to change it to something like a rotating gif image which indicates the processing or someother labels which prevents the user from interacting to the program.I tried to implement the gif image by using background worker but its hanging may be coz of huge file transfer process..
So im searching for someother alternative like a label which will disable the content and prevent the user to interact with the program.
Could anybody help me on this?
function insertQuestion(form) {
var x = "<img src='Images/plussigndisabled.jpg' width='30' height='30' alt='Look Up Previous Question' class='plusimage' name='plusbuttonrow'/><span id='plussignmsg'>(Click Plus Sign to look <br/> up Previous Questions)</span>" ;
if (qnum == <?php echo (int)$_SESSION['textQuestion']; ?>) {
$('#mainPlusbutton').replaceWith(x);
}
//append rows into a table code, not needed for this question
}
....
$('.plusimage').live('click', function() {
plusbutton($(this));
});
function plusbutton(plus_id) {
// Set global info
plusbutton_clicked = plus_id;
// Display an external page using an iframe
var src = "previousquestions.php";
$.modal('<iframe src="' + src + '" style="border:0;width:100%;height:100%;">');
return false;
}
<form id="QandA" action="<?php echo htmlentities($action); ?>" method="post">
<table id="question">
<tr>
<td colspan="2">
<a onclick="return plusbutton();">
<img src="Images/plussign.jpg" width="30" height="30" alt="Look Up Previous Question" class="plusimage" id="mainPlusbutton" name="plusbuttonrow"/>
</a>
<span id="plussignmsg">(Click Plus Sign to look up Previous Questions)</span>
</td>
</tr>
</table>
<table id="questionBtn" align="center">
<tr>
<th>
<input id="addQuestionBtn" name="addQuestion" type="button" value="Add Question" onClick="insertQuestion(this.form)" />
</th>
</tr>
</table>
</form>
In the code above I am able to replace an image with another image when the if statement is met. But my problem is that when the image is replaced, it does not disable the on click event. My question is that when the image is replaced, how do I disable the onclick event onclick="return plusbutton();?
Could unbind click work in this situation. I don't want to use href=# because I don't want to include # at the end of the url
I have a form with 3 text values and one image..
I want to save these values such that i can display these records in the list below..
how can i do that...
I am using osCommerce
For example:
<form method="post" id="fm-form" action ="" enctype="multipart/form-data">
<label>Name:</label>
<input type="text" id="fm-name" name="fm-name" value="" />
<label>Email:</label>
<input type="text" id="fm-email" name="fm-email" value="" />
<label>Birthdate:</label>
<input type="text" id="fm-birthdate" name="fm-birthdate" value="" />
<input type="file" id="fm-image" name="fm-image"/>
<input type="submit" id="fm-submit" value="Save it">
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr >
<td align="center" class="productListing-heading">Product(s)</td>
<td align="center" class="productListing-heading">Edit</td>
<td align="center" class="productListing-heading">Delete</td>
</tr>
<?php for($i=0;$i<$count_image;$i++){?>
<tr>
<td align="left" class="productListing-data1">
<?php echo tep_image(DIR_WS_IMAGES . $file_realname, $save_image[$i], '110', '110');?>
</td>
<td align="center" class="productListing-data1">Edit</td>
<td align="center" class="productListing-data1">Delete</td>
</tr>
<tr><td> </td></tr>
<?php }?> </table>
In the above format as the form is submitted the image has to be stored in a count_image array variable... and the on its count, the list below the form is displayed.. but i cannot get it worked.. could u pls help in doing this...
I‘m trying to create a page with Silver Light 4, that is similar in functionality to the main page at the Silver Light Showcase website (http://www.silverlight.net/showcase/).
Essentially I want to have buttons that change the view of the data in a Grid. One view might have just an image, another might have a smaller image with a smattering of data, and the third would be all the details.
I wondering if anyone has a recommendation of how to achieve this?
suppose i have taken one picture from my iphone camera and now i want to compare this image with other images and find best match image from that.
is it possible or not?
In my app, when one particular image button is clicked and held, i must be able to calculate the time for which the image button was held pressed. Can any one help me by giving some simple guidance or sample code. i am really stuck up here. Is there any specific event listener for this particular requirement.
I need to figure out how in the world do I create object instances (an image) and place them on the screen and have it draggable. I know how to draw an image (png) onto the screen, but how do I make it draggable?
I started learning jQuery just yesterday, and I like it very much.
And now I decided to write a script where I can change the margin-left of an image when I click on it, hold the clicking and move the mouse.
Depending on mouse coordinates I must change the image's margin-left. Could you give me an idea how I can do it? Thanks.
In some library I'm using (written in C) its
StorePGM(image, width, height, filename)
char *image;
int width, height;
char *filename;
{
// something something
}
All functions are defined this way. I never seen such function definitions in my life. They seem to be valid to MSVC but when I compile it as C++ it gives errors.
What is it? some kind of old version C?
I'm using a big Background image on hover which is set in css background {....}
It takes time to load first time upon mouse over so I want to preload this background image.
What is the best option to do this?
hi! :)
anyone know if is possible to reproduce this effect
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #000000),color-stop(1, #666666));
also on ff < 3.6?
im tryin' to generate a gradient background without images!
thanks a lot in advance for any advice.
hi,
following situation:
- loading an image into a pictureBox works
- selecting ( / marking) an area by drawing a rectangle via ControlPaint::FillReversibleRectangle(...) works
how do i save the selected part of the image?
thanks alot
can any one suggest me how to rotate image view with respect to any point on the image in iphone os.it will be very useful for me if any any body send me the sample code...
hi, i have an swf. on my website, a user will make some changes on the stage and then when he press the button "get hotlink", he will be able to get the image link of some part of the stage determined before by me. like imageshack, users'll be able to use it as image in forums.
how can i succeed it?
how can i clean image from noise?
i have a program that create images, and i have noises in the images,
like a shadow of the object that in the image. how can i clean it?
i tried to use a level, but i didn't work.
We have a images folder which has about a million images in it.
We need to write a program which would fetch the image based upon a keyword that is entered by the user.
We need to match the file names while searching to find the right image.
Looking for any suggestions.
Thanks
N
hi,
is there any javascript library for resizing the images according to browser window sizes ?
I need to consider all cases (vertical / horizonal image, vertical / horizonal browser window)
N.B. The image scale has to be the same! (no distorsions)
thanks