Responsive image and objects - responsive-images

Hello to all I am new to the community, and it comes because I have a big doubt this doubt I've had for a year and I can not get someone to explain me correctly, well getting to the point, I have a website that I created recently but I see that when I place an image or an object when I move the window of my browser everything is deformed, then I discovered a long time ago that to not deform the images or objects I have to make it adapt to any screen, I looked for many tutorials but none worked for me, I work with wordpress, then I want to know how I can do it using the wordpress console, I will attach some pictures.enter image description here
enter image description here

Use Position Property. Place the image and Blue Background inside a div tag with Relative Parent and set top or bottom and Left or right values.

Related

UIButton image/backgroundimage scaling issues

I have tried everything, so I finally decided to post this question. I have a button (well, quite a few actually) that holds an image, which was working fine, until my employer decided they were too small. First thing I did was get some new pictures, that were bigger, so the resolution wouldn't be bad. Now when I tried to "oversize" my button, at some point the image just didn't want to follow anymore and stopped scaling. I went searching on the internet, and saw that everybody was telling ppl to put their image as background image instead. I did that, but then a new problem raised: resolution was awful. So basically I have two question.
1. Is it really not possible to make a buttons image scaletofill; do you really have to work around by using background image.
2. Is there any reason that somebody else can think of why my resolution would be bad, as the picture I use is actually bigger than the background (and the proportions are correct). I originally had smaller pictures, but I deleted them from images assets and loaded in the new ones. I can't imagine Xcode somehow retaining a snapshot of the old pictures, but this makes no sense to me.
Any clearance on the subject greatly appreciated!
Try to remove app from simulator or device and clean Xcode build cache (Build->Clean)

view images in ios7 app and make interactive

ok guys im not to shure where to start with this one its a first for me but i have a floor plan that i would like to show in my IOS7 App and i know i want the user to shrink and grow the image so he or she can zoom in to areas of the map. it would be nice if they could click on the an area of the image and it would be linked to data in my parse database. but i think thats a long way off for me.....
but for now just to let the user shrink and grow and rotate the image would be nice.
anyone got any tutorials they can point me to?
Have a look at Apple's PhotoScroller example. Here an ARC-ready version.
This will not cover rotating the image, but you can easily get this by following this tutorial.

How can i stack up tiles in iOS programming?

I'm trying to learn iOS programming and I decided to make a game like Connect 4, or some may know it as Four in a row.
I've done the grid and dropping the tiles. However, I haven't been able to stack the tiles on top of each other. I havent tried that much because I have no idea on how i could do something like that as i have never tried making a game like this, I have also searched online but I dont know if it's my choice of wording that it never shows anything or if there isnt anything like it.
I have 7 column on the top, with a hairline where you touch in order to drop the tile to the grid. Right now the tiles just stack on each other.
Not sure if my response is worth to be an answer but what the heck...
If you are set on not getting into Sprite Kit right now, you could probably use UIButton to make this happen. Divide your screen into a grid of UIButtons. You can set the button images according to empty and played (red or blue). Each button code would have to check for things like if the hole (button) was already played, what color chip to display, is this a winning move, etc... There is of course an easier way to do this instead of copying the same code into each button but I'll let you try to figure that one out for now.

flexslider stops sliding on touch and dives images in two ios phone gap

If youre working with small slide you will notice they often stall halfways thru the slide. im using slide and not fade. Ive tested this on the basic flexslider example there is. It doenst matter if its a big og small slide if you slide the picture to 50% and you leave your finger from the slide, going straight down, then the image is stuck with 50% of to images.. Is this a bug or is there a solution? tested on ios 6 phone gap
edit it doenst have to be 50% you its everywhere u start sliding images and move the finger out of the slider then the sliding animation is stopped and youre stuck with something of two images.
Solution: Its currently a bug according to github A minor bug with no one to fix it anytime soon.. However i experienced severals flicker bugs when creating a slider on a transformed moved div...
therefor the solution for me was use iosslider instead. Its perfect! ive tried all sliders out there this one does it all with no bugs!!!.. Its free for personal use however not free for commercial :/ anyways its the best and there really isnt an alternative to what i need a slider for.
Say thank you with +1 if you went ahead and downloaded iosslider :) You will be satisfied i promise!

Custom "rubber band" view in Sproutcore

I'm scratching a long time itch and have started coding a simple
browser-based image editor in Sproutcore.
70% of my image editing needs consist of cropping pictures. For the
task of selecting which part of the image should remain visible, I
would like to use the interface every image editor uses: the rubber
band (?) selection box.
I'm pretty new to SC and I'm not sure how to go about implementing this. Is there a component available for what I want to do or will I need to write my own?
If I do need to write my own how would I go about doing it? Should I extend SC.ImageView and store the position of the selection box in there?
Thanks.

Resources